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.001341/0.001341, allocations: 102.2 kB / 16.27 MB, free: 6 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.001391/0.001391, allocations: 191 kB / 17.2 MB, free: 5.609 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.428/1.428, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.162/2.162, allocations: 390.3 MB / 0.6653 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.16 kB / 0.8132 GB, free: 33.03 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2523, allocations: 140.4 MB / 0.9503 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002458/0.2548, allocations: 1.202 MB / 0.9514 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008022/0.2557, allocations: 388.8 kB / 0.9518 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.655e-05/0.2557, allocations: 0 / 0.9518 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.799e-05/0.2557, allocations: 3.938 kB / 0.9518 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.025e-05/0.2558, allocations: 0 / 0.9518 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.2563, allocations: 103.6 kB / 0.9519 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.858e-05/0.2564, allocations: 11.98 kB / 0.9519 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.2565, allocations: 4 kB / 0.9519 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.361e-05/0.2565, allocations: 11.98 kB / 0.9519 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.079e-05/0.2565, allocations: 3.938 kB / 0.9519 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.2566, allocations: 4 kB / 0.9519 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.2568, allocations: 91.84 kB / 0.952 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.2568, allocations: 7.984 kB / 0.952 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.2568, allocations: 7.938 kB / 0.952 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.257, allocations: 79.88 kB / 0.9521 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.257, allocations: 0 / 0.9521 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2571, allocations: 0 / 0.9521 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.2571, allocations: 4 kB / 0.9521 GB, free: 6.977 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.000479/0.2576, allocations: 373.2 kB / 0.9525 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.2576, allocations: 12.03 kB / 0.9525 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.2576, allocations: 4.875 kB / 0.9525 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2578, allocations: 164.6 kB / 0.9527 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.2578, allocations: 4.375 kB / 0.9527 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.2578, allocations: 4.312 kB / 0.9527 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.2579, allocations: 42.19 kB / 0.9527 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.2579, allocations: 192 / 0.9527 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.2579, allocations: 7.938 kB / 0.9527 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.258, allocations: 4 kB / 0.9527 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.992e-05/0.258, allocations: 3.984 kB / 0.9527 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.2582, allocations: 153.7 kB / 0.9529 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.227e-05/0.2583, allocations: 26.58 kB / 0.9529 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.2583, allocations: 16.98 kB / 0.9529 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.2583, allocations: 7.984 kB / 0.9529 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.2585, allocations: 59.34 kB / 0.953 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.472e-06/0.2585, allocations: 0 / 0.953 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002075/0.2587, allocations: 69.52 kB / 0.953 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.2588, allocations: 55.41 kB / 0.9531 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.045e-05/0.2589, allocations: 97.84 kB / 0.9532 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.2589, allocations: 29.7 kB / 0.9532 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.078e-05/0.2589, allocations: 84.27 kB / 0.9533 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.2589, allocations: 7.906 kB / 0.9533 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.259, allocations: 25.66 kB / 0.9533 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2591, allocations: 314.8 kB / 0.9536 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.199e-05/0.2591, allocations: 8 kB / 0.9536 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.843e-05/0.2592, allocations: 39.41 kB / 0.9537 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.971e-05/0.2592, allocations: 43.38 kB / 0.9537 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2592, allocations: 0 / 0.9537 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001099/0.2594, allocations: 65.62 kB / 0.9538 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2594, allocations: 7.938 kB / 0.9538 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2594, allocations: 4 kB / 0.9538 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2594, allocations: 0 / 0.9538 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.029e-05/0.2595, allocations: 16.08 kB / 0.9538 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.2595, allocations: 3.938 kB / 0.9538 GB, free: 5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.657e-05/0.2595, allocations: 4 kB / 0.9538 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.2595, allocations: 4 kB / 0.9538 GB, free: 4.992 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.561e-05/0.2596, allocations: 113.9 kB / 0.9539 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.2596, allocations: 7.844 kB / 0.9539 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.2597, allocations: 7.5 kB / 0.9539 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2597, allocations: 0 / 0.9539 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2597, allocations: 3.984 kB / 0.9539 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2597, allocations: 4 kB / 0.9539 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.2598, allocations: 153.6 kB / 0.9541 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2598, allocations: 0 / 0.9541 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.295e-05/0.2599, allocations: 4 kB / 0.9541 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.2599, allocations: 3.938 kB / 0.9541 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.2599, allocations: 3.938 kB / 0.9541 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2599, allocations: 0 / 0.9541 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.2599, allocations: 7.984 kB / 0.9541 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.26, allocations: 93.05 kB / 0.9542 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.2601, allocations: 77.11 kB / 0.9543 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.2601, allocations: 3.938 kB / 0.9543 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.077e-05/0.2601, allocations: 0 / 0.9543 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.2601, allocations: 8.266 kB / 0.9543 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.2602, allocations: 4 kB / 0.9543 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.102e-05/0.2602, allocations: 75.28 kB / 0.9544 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2602, allocations: 4 kB / 0.9544 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002621/0.2605, allocations: 28 kB / 0.9544 GB, free: 4.301 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.000326/0.2608, allocations: 156.5 kB / 0.9545 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001123/0.2609, allocations: 31.92 kB / 0.9546 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2609, allocations: 0 / 0.9546 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/0.261, allocations: 11.98 kB / 0.9546 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.2611, allocations: 0 / 0.9546 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.2614, allocations: 138.8 kB / 0.9547 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.2617, allocations: 0.6844 MB / 0.9554 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.2617, allocations: 7.438 kB / 0.9554 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2617, allocations: 0 / 0.9554 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of Templates: time 0.002919/0.2646, allocations: 1.143 MB / 0.9565 GB, free: 2.082 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