Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.001338/0.001343, allocations: 100.1 kB / 15.88 MB, free: 12 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.001459/0.001459, allocations: 199.1 kB / 16.79 MB, free: 6.809 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.371/1.371, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.533/2.533, allocations: 437 MB / 0.7106 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 67.88 kB / 0.8692 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.565/0.5664, allocations: 151.6 MB / 1.017 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002367/0.5688, allocations: 1.264 MB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008274/0.5697, allocations: 410.7 kB / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.5697, allocations: 0 / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.5697, allocations: 0 / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.411e-05/0.5698, allocations: 3.938 kB / 1.019 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.5702, allocations: 87.78 kB / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.256e-05/0.5703, allocations: 15.98 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.399e-05/0.5703, allocations: 0 / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.158e-05/0.5704, allocations: 7.938 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.691e-05/0.5704, allocations: 11.98 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.5704, allocations: 0 / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.5706, allocations: 87.84 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.5706, allocations: 7.984 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.5707, allocations: 7.938 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.5708, allocations: 55.91 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.5708, allocations: 4 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.91e-07/0.5708, allocations: 0 / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.5708, allocations: 0 / 1.019 GB, free: 0.8672 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.0004264/0.5713, allocations: 347.5 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.5713, allocations: 11.98 kB / 1.02 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.5713, allocations: 0.9375 kB / 1.02 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.728e-05/0.5714, allocations: 170.4 kB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.485e-06/0.5715, allocations: 384 / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.5715, allocations: 4.359 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.996e-05/0.5716, allocations: 46.23 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.5716, allocations: 4.125 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.5716, allocations: 7.875 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.5716, allocations: 0 / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.608e-05/0.5717, allocations: 8 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.5718, allocations: 153.7 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.952e-05/0.5719, allocations: 26.61 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.303e-05/0.5719, allocations: 8.859 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.572, allocations: 8 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.5721, allocations: 55.44 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.5721, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001888/0.5723, allocations: 73.52 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.5724, allocations: 51.41 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.178e-05/0.5724, allocations: 105.8 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.5725, allocations: 25.7 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.5725, allocations: 80.14 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.5725, allocations: 11.91 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.5726, allocations: 21.7 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.5727, allocations: 310.8 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.862e-05/0.5727, allocations: 4 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.999e-05/0.5727, allocations: 47.47 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.522e-05/0.5728, allocations: 39.44 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5728, allocations: 11.88 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.654e-05/0.5729, allocations: 61.62 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.5729, allocations: 13.5 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5729, allocations: 8.078 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.573, allocations: 0 / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.386e-05/0.573, allocations: 8 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.573, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.5731, allocations: 11.84 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.5731, allocations: 0 / 1.021 GB, free: 14.92 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 7.554e-05/0.5732, allocations: 118.3 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.5732, allocations: 3.938 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.5732, allocations: 7.719 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.5732, allocations: 8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5732, allocations: 3.984 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.5732, allocations: 3.938 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.5733, allocations: 157.7 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5734, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.589e-05/0.5734, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.5734, allocations: 3.938 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.5734, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.5734, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5734, allocations: 160 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.5735, allocations: 93.05 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/0.5736, allocations: 81.11 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.5736, allocations: 3.938 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.046e-05/0.5736, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.5736, allocations: 3.984 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.5737, allocations: 4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.013e-05/0.5737, allocations: 75.28 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5737, allocations: 4.094 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002357/0.5739, allocations: 28 kB / 1.021 GB, free: 14.23 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.0003117/0.5743, allocations: 154.8 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.976e-05/0.5744, allocations: 27.92 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5744, allocations: 4 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.402e-05/0.5744, allocations: 20.17 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.5745, allocations: 0 / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002225/0.5748, allocations: 136.3 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.575, allocations: 0.677 MB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.575, allocations: 7.438 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.575, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of Templates: time 0.002725/0.5777, allocations: 1.139 MB / 1.024 GB, free: 12.01 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches