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.008317/0.008317, allocations: 98.95 kB / 15.73 MB, free: 6.055 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.001914/0.001914, allocations: 201.8 kB / 16.68 MB, free: 5.977 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.575/2.575, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 61.03 kB / 0.9508 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.352, allocations: 140.4 MB / 1.088 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002377/0.3545, allocations: 1.2 MB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008073/0.3553, allocations: 387 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.366e-05/0.3553, allocations: 0 / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.04e-05/0.3554, allocations: 0 / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.185e-05/0.3554, allocations: 3.938 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/0.356, allocations: 91.72 kB / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.241e-05/0.3561, allocations: 15.94 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.533e-05/0.3562, allocations: 7.984 kB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.991e-05/0.3562, allocations: 7.984 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.934e-05/0.3562, allocations: 3.938 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.3563, allocations: 4 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.3565, allocations: 91.91 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.3565, allocations: 7.984 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.3565, allocations: 7.938 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.3567, allocations: 83.75 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3567, allocations: 0 / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3567, allocations: 0 / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.3568, allocations: 0 / 1.09 GB, free: 15.72 MB / 0.8575 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.0005106/0.3573, allocations: 377 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3573, allocations: 8.031 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.3574, allocations: 8.938 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.3575, allocations: 164.3 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.3575, allocations: 384 / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.3575, allocations: 4.375 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.3577, allocations: 42.23 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3577, allocations: 192 / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3577, allocations: 3.938 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.3577, allocations: 4 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.961e-05/0.3578, allocations: 3.938 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.3579, allocations: 157.7 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.93e-05/0.358, allocations: 38.55 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.317e-05/0.3581, allocations: 12.84 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.3581, allocations: 0 / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.3582, allocations: 63.42 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.3582, allocations: 4 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002064/0.3584, allocations: 61.62 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.3585, allocations: 59.39 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.879e-05/0.3586, allocations: 93.86 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.3586, allocations: 29.7 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.3586, allocations: 80.14 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.3587, allocations: 15.84 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.3587, allocations: 25.7 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3588, allocations: 315 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.085e-05/0.3589, allocations: 8 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.032e-05/0.3589, allocations: 44.77 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.289e-05/0.359, allocations: 39.44 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.359, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.906e-05/0.3591, allocations: 77.48 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3591, allocations: 7.938 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3591, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.3591, allocations: 4 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.768e-05/0.3592, allocations: 4 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3592, allocations: 4 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.412e-05/0.3592, allocations: 4 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.3593, allocations: 8.094 kB / 1.091 GB, free: 13.73 MB / 0.8575 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.799e-05/0.3593, allocations: 113.8 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.3594, allocations: 7.922 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.3594, allocations: 7.5 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3594, allocations: 0 / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3594, allocations: 0 / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3594, allocations: 0 / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.3595, allocations: 157.6 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3596, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.26e-05/0.3596, allocations: 4 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3596, allocations: 7.938 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.3596, allocations: 4 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3596, allocations: 0 / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3596, allocations: 0 / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.3597, allocations: 89.11 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.3598, allocations: 77.11 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.3598, allocations: 3.938 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.244e-05/0.3598, allocations: 8.203 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.3599, allocations: 11.94 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.3599, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.983e-05/0.3599, allocations: 75.28 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3599, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002404/0.3602, allocations: 35.92 kB / 1.092 GB, free: 13.04 MB / 0.8575 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.0003524/0.3605, allocations: 167 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001269/0.3606, allocations: 27.92 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3607, allocations: 4 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.577e-05/0.3607, allocations: 8 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.3608, allocations: 2.062 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002256/0.3611, allocations: 105 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.3613, allocations: 0.6768 MB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.958e-05/0.3613, allocations: 8.438 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.404e-05/0.3614, allocations: 7.438 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3614, allocations: 0 / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of Templates: time 0.003355/0.3647, allocations: 0.9608 MB / 1.094 GB, free: 11.03 MB / 0.8575 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:seed,t0,time,y