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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.41/2.41, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 184.8 kB / 491.2 MB, free: 1.605 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 221.5 MB / 0.7868 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009793/0.0009792, allocations: 87.78 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.091e-05/2.156e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.307, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.334, allocations: 149.5 MB / 1.358 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/1.334, allocations: 76.42 kB / 1.358 GB, free: 17.55 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Occupants/BaseClasses/exponentialVariableGeneration.mo:11:5-11:98:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.006019/1.341, allocations: 2.055 MB / 1.36 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.575e-06/1.341, allocations: 0 / 1.36 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.118e-05/1.341, allocations: 3.938 kB / 1.36 GB, free: 33.16 MB / 0.8386 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.000324/1.341, allocations: 349.3 kB / 1.361 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/1.341, allocations: 8.344 kB / 1.361 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/1.341, allocations: 7.812 kB / 1.361 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.77e-05/1.341, allocations: 168.3 kB / 1.361 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/1.341, allocations: 3.125 kB / 1.361 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/1.341, allocations: 3.844 kB / 1.361 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.689e-05/1.341, allocations: 0.6094 kB / 1.361 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.155e-05/1.341, allocations: 37.33 kB / 1.361 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.341, allocations: 8.578 kB / 1.361 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/1.341, allocations: 0 / 1.361 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/1.341, allocations: 0 / 1.361 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/1.341, allocations: 133.9 kB / 1.361 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.949e-05/1.341, allocations: 34.61 kB / 1.361 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/1.342, allocations: 9.312 kB / 1.361 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/1.342, allocations: 0 / 1.361 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.916e-05/1.342, allocations: 58.17 kB / 1.361 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/1.342, allocations: 0 / 1.361 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001874/1.342, allocations: 54 kB / 1.361 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/1.342, allocations: 55.41 kB / 1.361 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.921e-05/1.342, allocations: 93.16 kB / 1.361 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.487e-06/1.342, allocations: 25.7 kB / 1.361 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.564e-05/1.342, allocations: 84.78 kB / 1.361 GB, free: 32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/1.342, allocations: 16.05 kB / 1.362 GB, free: 32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/1.342, allocations: 0 / 1.362 GB, free: 32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.402e-05/1.342, allocations: 311.8 kB / 1.362 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.411e-05/1.342, allocations: 7.531 kB / 1.362 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.594e-05/1.342, allocations: 35.91 kB / 1.362 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.441e-05/1.342, allocations: 9.844 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.342, allocations: 0 / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.899e-05/1.342, allocations: 60.42 kB / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/1.342, allocations: 8.328 kB / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.342, allocations: 3.844 kB / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/1.342, allocations: 0 / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.977e-05/1.342, allocations: 9.047 kB / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/1.342, allocations: 4.594 kB / 1.362 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.605e-05/1.342, allocations: 7.031 kB / 1.362 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/1.342, allocations: 3.688 kB / 1.362 GB, free: 31.6 MB / 0.8386 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 () * 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 6.383e-05/1.343, allocations: 109.4 kB / 1.362 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-06/1.343, allocations: 0.6562 kB / 1.362 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/1.343, allocations: 8.875 kB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/1.343, allocations: 0 / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.343, allocations: 0 / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.343, allocations: 0.75 kB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.985e-05/1.343, allocations: 136.9 kB / 1.362 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/1.343, allocations: 3.938 kB / 1.362 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/1.343, allocations: 4.719 kB / 1.362 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/1.343, allocations: 3.953 kB / 1.362 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/1.343, allocations: 2.297 kB / 1.362 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/1.343, allocations: 0 / 1.362 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.343, allocations: 0 / 1.362 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/1.343, allocations: 94.17 kB / 1.362 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/1.343, allocations: 81.72 kB / 1.362 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/1.343, allocations: 4.75 kB / 1.362 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.859e-05/1.343, allocations: 0 / 1.362 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/1.343, allocations: 5.141 kB / 1.362 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/1.343, allocations: 0.6562 kB / 1.362 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.991e-05/1.343, allocations: 79.42 kB / 1.362 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.343, allocations: 7.969 kB / 1.362 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002584/1.343, allocations: 40.94 kB / 1.363 GB, free: 31.04 MB / 0.8386 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 () * 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.0003304/1.344, allocations: 158.7 kB / 1.363 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.889e-05/1.344, allocations: 24.47 kB / 1.363 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.344, allocations: 4.188 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.376e-05/1.344, allocations: 10.84 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.651e-05/1.344, allocations: 0.5625 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001776/1.344, allocations: 62.7 kB / 1.363 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/1.344, allocations: 0.681 MB / 1.363 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.236e-05/1.344, allocations: 1.547 kB / 1.363 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.363e-05/1.344, allocations: 11.25 kB / 1.363 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.344, allocations: 7.938 kB / 1.363 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of Templates: time 0.00291/1.347, allocations: 1.124 MB / 1.365 GB, free: 30.03 MB / 0.8386 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