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.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.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.001328/0.001328, allocations: 103.2 kB / 16.4 MB, free: 6.477 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.00137/0.00137, allocations: 187 kB / 17.34 MB, free: 5.715 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.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.421/2.421, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 60.14 kB / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7439/0.7458, allocations: 151.6 MB / 1.167 GB, free: 3.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002727/0.7486, allocations: 1.206 MB / 1.168 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009792/0.7496, allocations: 409.1 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.7496, allocations: 0 / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.454e-05/0.7497, allocations: 0 / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.94e-05/0.7497, allocations: 7.938 kB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006154/0.7503, allocations: 87.72 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.771e-05/0.7504, allocations: 19.92 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.786e-05/0.7505, allocations: 0 / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.524e-05/0.7505, allocations: 7.984 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.82e-05/0.7505, allocations: 11.94 kB / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.7506, allocations: 0 / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.7508, allocations: 87.91 kB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.7508, allocations: 3.984 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.7509, allocations: 7.938 kB / 1.169 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.7511, allocations: 88.31 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7511, allocations: 4 kB / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7511, allocations: 0 / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.7511, allocations: 4 kB / 1.169 GB, free: 1.977 MB / 0.8887 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.0005018/0.7516, allocations: 343.3 kB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.7517, allocations: 11.97 kB / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.7517, allocations: 8.875 kB / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.7518, allocations: 164.3 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.7519, allocations: 384 / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.7519, allocations: 16.36 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.752, allocations: 34.25 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.752, allocations: 192 / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.752, allocations: 7.922 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.752, allocations: 0 / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.852e-05/0.7521, allocations: 7.938 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.7523, allocations: 153.7 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.42e-05/0.7524, allocations: 26.72 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.7524, allocations: 20.84 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.7524, allocations: 0 / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001727/0.7526, allocations: 51.41 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 3.426e-06/0.7526, allocations: 0 / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.000236/0.7529, allocations: 81.5 kB / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.7529, allocations: 55.41 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.29e-05/0.753, allocations: 97.84 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.753, allocations: 29.7 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/0.7531, allocations: 84.14 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.7531, allocations: 3.953 kB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.7531, allocations: 17.72 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.7533, allocations: 322.8 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.7533, allocations: 4 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.38e-05/0.7534, allocations: 43.53 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.765e-05/0.7535, allocations: 43.38 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7535, allocations: 0 / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001111/0.7536, allocations: 69.56 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.7536, allocations: 12.03 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.7536, allocations: 0 / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.7536, allocations: 4 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.664e-05/0.7537, allocations: 7.984 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.7537, allocations: 4 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.033e-05/0.7538, allocations: 7.953 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.7538, allocations: 4 kB / 1.171 GB, free: 24 kB / 0.8887 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 0.0001143/0.7539, allocations: 117.7 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.7539, allocations: 7.938 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.34e-05/0.754, allocations: 7.734 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.754, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.754, allocations: 3.984 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.754, allocations: 3.984 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.7541, allocations: 161.5 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7541, allocations: 0 / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.727e-05/0.7542, allocations: 4 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.7542, allocations: 3.938 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.7542, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.7542, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7542, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.7543, allocations: 89.11 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.7544, allocations: 81.06 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.7544, allocations: 3.938 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.044e-05/0.7544, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.7544, allocations: 11.94 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.7545, allocations: 3.984 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.188e-05/0.7545, allocations: 83.28 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7545, allocations: 0 / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000263/0.7548, allocations: 27.94 kB / 1.171 GB, free: 15.32 MB / 0.9044 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.0003579/0.7551, allocations: 154.3 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.7553, allocations: 27.92 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7553, allocations: 4.281 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.608e-05/0.7553, allocations: 15.98 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.7555, allocations: 2.234 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002486/0.7557, allocations: 130.5 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.756, allocations: 0.6768 MB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.756, allocations: 11.44 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.756, allocations: 0 / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of Templates: time 0.003071/0.7591, allocations: 1.157 MB / 1.174 GB, free: 13.09 MB / 0.9044 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