Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 107 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 191.3 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 390.2 MB / 0.665 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.3 kB / 0.8127 GB, free: 33.26 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2744, allocations: 140.4 MB / 0.9498 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002368/0.2768, allocations: 1.267 MB / 0.951 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000716/0.2776, allocations: 388.8 kB / 0.9514 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.042e-05/0.2776, allocations: 0 / 0.9514 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.2776, allocations: 0 / 0.9514 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.352e-05/0.2777, allocations: 0 / 0.9514 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.2781, allocations: 87.78 kB / 0.9515 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.486e-05/0.2782, allocations: 12 kB / 0.9515 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.2783, allocations: 3.984 kB / 0.9515 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.778e-05/0.2783, allocations: 8 kB / 0.9515 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.487e-05/0.2783, allocations: 3.938 kB / 0.9515 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.2783, allocations: 4 kB / 0.9515 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.2785, allocations: 95.83 kB / 0.9516 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.2785, allocations: 3.984 kB / 0.9516 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.2786, allocations: 8 kB / 0.9516 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.2787, allocations: 59.84 kB / 0.9516 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2787, allocations: 0 / 0.9516 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.522e-06/0.2787, allocations: 4 kB / 0.9516 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.2787, allocations: 4 kB / 0.9517 GB, free: 7.242 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004343/0.2792, allocations: 369.2 kB / 0.952 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.2792, allocations: 12.03 kB / 0.952 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.2793, allocations: 0.9375 kB / 0.952 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.2794, allocations: 164.6 kB / 0.9522 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.2794, allocations: 4.375 kB / 0.9522 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.2794, allocations: 4.375 kB / 0.9522 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.2795, allocations: 46.17 kB / 0.9522 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.2795, allocations: 192 / 0.9522 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.2796, allocations: 3.938 kB / 0.9522 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2796, allocations: 4 kB / 0.9522 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.732e-05/0.2796, allocations: 0 / 0.9522 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.2798, allocations: 153.7 kB / 0.9524 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.391e-05/0.2798, allocations: 30.61 kB / 0.9524 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.381e-05/0.2799, allocations: 12.86 kB / 0.9524 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.802e-06/0.2799, allocations: 4 kB / 0.9524 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.2801, allocations: 63.42 kB / 0.9525 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.2801, allocations: 0 / 0.9525 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001862/0.2803, allocations: 65.53 kB / 0.9525 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.2803, allocations: 63.33 kB / 0.9526 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.227e-05/0.2804, allocations: 89.86 kB / 0.9527 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.2804, allocations: 41.77 kB / 0.9527 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.825e-05/0.2804, allocations: 80.14 kB / 0.9528 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.2805, allocations: 3.906 kB / 0.9528 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.2805, allocations: 25.7 kB / 0.9528 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2806, allocations: 318.8 kB / 0.9531 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.082e-05/0.2806, allocations: 8 kB / 0.9532 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/0.2807, allocations: 35.42 kB / 0.9532 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.575e-05/0.2807, allocations: 47.56 kB / 0.9532 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2808, allocations: 0 / 0.9532 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001059/0.2809, allocations: 73.59 kB / 0.9533 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2809, allocations: 7.938 kB / 0.9533 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2809, allocations: 8.094 kB / 0.9533 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.2809, allocations: 0 / 0.9533 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.256e-05/0.281, allocations: 4 kB / 0.9533 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.281, allocations: 7.938 kB / 0.9533 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.275e-05/0.281, allocations: 0 / 0.9533 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.281, allocations: 4 kB / 0.9533 GB, free: 5.266 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.558e-05/0.2811, allocations: 113.8 kB / 0.9534 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.2811, allocations: 11.83 kB / 0.9535 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.301e-05/0.2812, allocations: 3.5 kB / 0.9535 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-06/0.2812, allocations: 4 kB / 0.9535 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2812, allocations: 0 / 0.9535 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2812, allocations: 0 / 0.9535 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.2813, allocations: 161.6 kB / 0.9536 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2813, allocations: 0 / 0.9536 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.326e-05/0.2813, allocations: 4 kB / 0.9536 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.2813, allocations: 3.938 kB / 0.9536 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.2814, allocations: 0 / 0.9536 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2814, allocations: 0 / 0.9536 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2814, allocations: 0 / 0.9536 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.2815, allocations: 93.05 kB / 0.9537 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.189e-05/0.2815, allocations: 77.11 kB / 0.9538 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.2816, allocations: 3.938 kB / 0.9538 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.209e-05/0.2816, allocations: 7.922 kB / 0.9538 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.2816, allocations: 4 kB / 0.9538 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.2816, allocations: 0 / 0.9538 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.116e-05/0.2817, allocations: 79.28 kB / 0.9539 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2817, allocations: 0 / 0.9539 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002473/0.2819, allocations: 36.08 kB / 0.9539 GB, free: 4.574 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003103/0.2822, allocations: 168 kB / 0.9541 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.2824, allocations: 27.92 kB / 0.9541 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2824, allocations: 0 / 0.9541 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/0.2824, allocations: 12.19 kB / 0.9541 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.2825, allocations: 4 kB / 0.9541 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.2828, allocations: 134.7 kB / 0.9542 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.2831, allocations: 0.6844 MB / 0.9549 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.802e-05/0.2831, allocations: 11.44 kB / 0.9549 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/0.2831, allocations: 0 / 0.9549 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of Templates: time 0.002698/0.2858, allocations: 1.14 MB / 0.956 GB, free: 2.348 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches