Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.001502/0.001502, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001945/0.001946, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.411/1.411, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 437 MB / 0.7103 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001333, allocations: 59.91 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6713/0.6726, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002505/0.6752, allocations: 1.201 MB / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008423/0.676, allocations: 378.7 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.88e-05/0.6761, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.6761, allocations: 3.938 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.496e-05/0.6762, allocations: 0 / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006003/0.6768, allocations: 99.66 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.558e-05/0.6769, allocations: 15.98 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.6769, allocations: 0 / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.329e-05/0.6769, allocations: 15.97 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.184e-05/0.677, allocations: 11.94 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.677, allocations: 0 / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.6772, allocations: 87.84 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.6772, allocations: 11.98 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.6773, allocations: 3.938 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.6775, allocations: 83.88 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.6775, allocations: 0 / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6775, allocations: 0 / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.6775, allocations: 0 / 1.019 GB, free: 0.5977 MB / 0.7637 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.0004769/0.678, allocations: 382.5 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.678, allocations: 8.031 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.785e-05/0.6781, allocations: 0.9375 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.6782, allocations: 170.3 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.6782, allocations: 384 / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.6783, allocations: 4.375 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.6784, allocations: 38.25 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.6784, allocations: 192 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.6784, allocations: 7.922 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.6784, allocations: 4 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.122e-05/0.6785, allocations: 4 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.6786, allocations: 153.7 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.197e-05/0.6787, allocations: 34.64 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.22e-05/0.6788, allocations: 16.84 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.6788, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.679, allocations: 55.41 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.679, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002258/0.6792, allocations: 77.45 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.6793, allocations: 51.41 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.323e-05/0.6794, allocations: 97.84 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.6794, allocations: 25.7 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.6794, allocations: 84.27 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.6794, allocations: 15.84 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.6795, allocations: 17.72 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.6796, allocations: 318.8 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.257e-05/0.6796, allocations: 8 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.6e-05/0.6797, allocations: 31.42 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.642e-05/0.6798, allocations: 55.31 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6798, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.689e-05/0.6799, allocations: 61.62 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.6799, allocations: 11.94 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.6799, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.6799, allocations: 7.922 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.88e-05/0.68, allocations: 16.03 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.68, allocations: 4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/0.68, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-06/0.6801, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 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 8.766e-05/0.6802, allocations: 113.8 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.6802, allocations: 7.844 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.6802, allocations: 3.5 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.6802, allocations: 7.984 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.6802, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6802, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.6804, allocations: 153.7 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6804, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.621e-05/0.6804, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.6804, allocations: 11.88 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.6804, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.6804, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6804, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.6806, allocations: 81.11 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.6806, allocations: 81.39 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.6806, allocations: 7.938 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.067e-05/0.6806, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.556e-05/0.6807, allocations: 7.969 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.6807, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.41e-05/0.6807, allocations: 79.28 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6807, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00025/0.681, allocations: 28 kB / 1.021 GB, free: 13.94 MB / 0.7794 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.0003472/0.6813, allocations: 163 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.6815, allocations: 35.86 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6815, allocations: 4 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.688e-05/0.6815, allocations: 11.92 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.6817, allocations: 8 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.682, allocations: 113.1 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.6822, allocations: 0.6768 MB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.328e-05/0.6823, allocations: 4 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.713e-05/0.6823, allocations: 7.438 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6823, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of Templates: time 0.003534/0.6858, allocations: 0.9578 MB / 1.023 GB, free: 11.92 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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