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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001198/0.001198, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.00145/0.00145, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.5/2.5, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003573, allocations: 12 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6726/0.673, allocations: 153.6 MB / 1.021 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001338/0.6744, allocations: 0.9254 MB / 1.022 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007735/0.6752, allocations: 379 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.6752, allocations: 0 / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.043e-05/0.6752, allocations: 3.938 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.031e-05/0.6753, allocations: 0 / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004849/0.6758, allocations: 71.78 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.119e-05/0.6758, allocations: 12 kB / 1.022 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.052e-05/0.6759, allocations: 0 / 1.022 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.56e-05/0.6759, allocations: 7.984 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.821e-05/0.676, allocations: 15.92 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.676, allocations: 0 / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.6762, allocations: 59.94 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.6762, allocations: 7.984 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.6763, allocations: 29.64 kB / 1.022 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.6764, allocations: 63.84 kB / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.6764, allocations: 0 / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6764, allocations: 0 / 1.022 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.6764, allocations: 4 kB / 1.022 GB, free: 15.5 MB / 0.7794 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.0004585/0.6769, allocations: 339.3 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.677, allocations: 11.98 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.677, allocations: 4 kB / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.6771, allocations: 161 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.6772, allocations: 4 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.6772, allocations: 4 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.6773, allocations: 41.62 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.6773, allocations: 4 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.6773, allocations: 0 / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.6773, allocations: 0 / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.608e-05/0.6774, allocations: 15.92 kB / 1.023 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.6775, allocations: 153.7 kB / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.028e-05/0.6776, allocations: 22.58 kB / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-06/0.6776, allocations: 3.938 kB / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.6778, allocations: 63.48 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.6778, allocations: 0 / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000193/0.678, allocations: 73.61 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.6781, allocations: 51.41 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.152e-05/0.6781, allocations: 93.86 kB / 1.023 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.6781, allocations: 25.7 kB / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.6782, allocations: 88.05 kB / 1.023 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.6782, allocations: 19.95 kB / 1.023 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-06/0.6782, allocations: 0 / 1.023 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.6783, allocations: 314.8 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.6784, allocations: 4 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.6e-05/0.6784, allocations: 35.42 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.756e-05/0.6785, allocations: 19.94 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6785, allocations: 0 / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001001/0.6786, allocations: 61.62 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.6786, allocations: 9.406 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.6786, allocations: 3.953 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.6786, allocations: 0 / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.752e-05/0.6787, allocations: 11.98 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.6787, allocations: 0 / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.048e-05/0.6788, allocations: 11.94 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.6788, allocations: 4.094 kB / 1.024 GB, free: 13.65 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.982e-05/0.6789, allocations: 117.8 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-06/0.6789, allocations: 3.906 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/0.6789, allocations: 3.5 kB / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.6789, allocations: 7.953 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6789, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6789, allocations: 3.984 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.6791, allocations: 153.7 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.6791, allocations: 0 / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.311e-05/0.6791, allocations: 4 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.6791, allocations: 0 / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.6791, allocations: 4 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6791, allocations: 0 / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6791, allocations: 4.188 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.6792, allocations: 89.03 kB / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.6793, allocations: 77.11 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.6793, allocations: 4 kB / 1.024 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.268e-05/0.6793, allocations: 8 kB / 1.024 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.6793, allocations: 3.953 kB / 1.024 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.6794, allocations: 7.984 kB / 1.024 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.713e-05/0.6794, allocations: 79.22 kB / 1.024 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.563e-06/0.6794, allocations: 0 / 1.024 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002373/0.6796, allocations: 31.94 kB / 1.024 GB, free: 12.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003195/0.68, allocations: 153.3 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.6801, allocations: 27.92 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6801, allocations: 0 / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.505e-05/0.6801, allocations: 15.98 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.789e-05/0.6802, allocations: 0.5625 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.6805, allocations: 112.6 kB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.6808, allocations: 0.6811 MB / 1.025 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.434e-05/0.6808, allocations: 4 kB / 1.025 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.636e-05/0.6808, allocations: 7.438 kB / 1.025 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6808, allocations: 0 / 1.025 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of Templates: time 0.003215/0.684, allocations: 0.9449 MB / 1.026 GB, free: 10.97 MB / 0.7794 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 -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","../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