Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 108.9 kB / 16.41 MB, free: 6.441 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.001247/0.001247, allocations: 189.2 kB / 17.34 MB, free: 5.703 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.758/2.758, allocations: 474.5 MB / 0.7477 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 59.91 kB / 1.073 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.87/0.8719, allocations: 160.3 MB / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002208/0.8741, allocations: 1.21 MB / 1.23 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0007809/0.8749, allocations: 402.7 kB / 1.231 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.25e-05/0.875, allocations: 3.938 kB / 1.231 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.875, allocations: 0 / 1.231 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 2.746e-05/0.875, allocations: 0 / 1.231 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004817/0.8755, allocations: 103.6 kB / 1.231 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.124e-05/0.8756, allocations: 4 kB / 1.231 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.649e-05/0.8756, allocations: 7.984 kB / 1.231 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.921e-05/0.8756, allocations: 8 kB / 1.231 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.588e-05/0.8757, allocations: 11.92 kB / 1.231 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.8757, allocations: 4 kB / 1.231 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.8759, allocations: 91.84 kB / 1.231 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.8759, allocations: 0 / 1.231 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.893e-05/0.876, allocations: 15.92 kB / 1.231 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.8761, allocations: 71.41 kB / 1.231 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.8761, allocations: 0 / 1.231 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8762, allocations: 0 / 1.231 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.8762, allocations: 0 / 1.231 GB, free: 9.031 MB / 0.9512 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.0004906/0.8767, allocations: 356.2 kB / 1.231 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.8767, allocations: 8.031 kB / 1.231 GB, free: 8.625 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.8767, allocations: 4.938 kB / 1.231 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.8769, allocations: 168.3 kB / 1.231 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.8769, allocations: 8.25 kB / 1.232 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.8769, allocations: 8.359 kB / 1.232 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.671e-05/0.877, allocations: 34.25 kB / 1.232 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.877, allocations: 192 / 1.232 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.877, allocations: 3.938 kB / 1.232 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.8771, allocations: 0 / 1.232 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.63e-05/0.8771, allocations: 12 kB / 1.232 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.8773, allocations: 153.7 kB / 1.232 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.202e-05/0.8773, allocations: 30.55 kB / 1.232 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.8774, allocations: 12.86 kB / 1.232 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.238e-06/0.8774, allocations: 0 / 1.232 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.8775, allocations: 67.44 kB / 1.232 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 3.377e-06/0.8775, allocations: 3.984 kB / 1.232 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0001848/0.8777, allocations: 65.62 kB / 1.232 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.8778, allocations: 59.33 kB / 1.232 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.308e-05/0.8779, allocations: 97.86 kB / 1.232 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.8779, allocations: 25.7 kB / 1.232 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.8779, allocations: 84.14 kB / 1.232 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.878, allocations: 7.953 kB / 1.232 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.878, allocations: 29.81 kB / 1.232 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.8782, allocations: 314.8 kB / 1.232 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/0.8782, allocations: 4 kB / 1.232 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.201e-05/0.8782, allocations: 35.42 kB / 1.233 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.556e-05/0.8783, allocations: 47.38 kB / 1.233 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.8783, allocations: 0 / 1.233 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001217/0.8784, allocations: 73.56 kB / 1.233 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.8784, allocations: 7.938 kB / 1.233 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.8785, allocations: 4 kB / 1.233 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.8785, allocations: 4 kB / 1.233 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.465e-05/0.8785, allocations: 11.88 kB / 1.233 GB, free: 7.074 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.8786, allocations: 4 kB / 1.233 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.8786, allocations: 4.094 kB / 1.233 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.8786, allocations: 4 kB / 1.233 GB, free: 7.062 MB / 0.9512 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.723e-05/0.8787, allocations: 109.8 kB / 1.233 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.8787, allocations: 11.92 kB / 1.233 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.117e-05/0.8787, allocations: 3.5 kB / 1.233 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.8787, allocations: 0 / 1.233 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.8788, allocations: 0 / 1.233 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.8788, allocations: 0 / 1.233 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.8789, allocations: 157.6 kB / 1.233 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8789, allocations: 4 kB / 1.233 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.53e-05/0.8789, allocations: 4 kB / 1.233 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.8789, allocations: 7.875 kB / 1.233 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.8789, allocations: 0 / 1.233 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.8789, allocations: 0 / 1.233 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8789, allocations: 0 / 1.233 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.8791, allocations: 97 kB / 1.233 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.8791, allocations: 77.11 kB / 1.233 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.8792, allocations: 3.938 kB / 1.233 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.859e-05/0.8792, allocations: 4 kB / 1.233 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.8792, allocations: 7.984 kB / 1.233 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.8792, allocations: 0 / 1.233 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.676e-05/0.8793, allocations: 75.28 kB / 1.233 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8793, allocations: 0 / 1.233 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002316/0.8795, allocations: 35.92 kB / 1.233 GB, free: 6.375 MB / 0.9512 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.00034/0.8799, allocations: 162.6 kB / 1.233 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.88, allocations: 31.92 kB / 1.233 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.88, allocations: 7.938 kB / 1.233 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.912e-05/0.88, allocations: 8 kB / 1.233 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.8802, allocations: 0 / 1.233 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002233/0.8804, allocations: 108.7 kB / 1.234 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.8807, allocations: 0.6808 MB / 1.234 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.966e-05/0.8808, allocations: 4 kB / 1.234 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.435e-05/0.8808, allocations: 11.38 kB / 1.234 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.8808, allocations: 0 / 1.234 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of Templates: time 0.003499/0.8843, allocations: 0.9712 MB / 1.235 GB, free: 4.352 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:seed,t0,time,y