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.001598/0.001598, allocations: 109.2 kB / 16.41 MB, free: 6.492 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.001929/0.001929, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.487/1.487, allocations: 222.9 MB / 241 MB, free: 15.15 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.66/2.66, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001888, allocations: 67.88 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9582/0.9601, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002457/0.9626, allocations: 1.198 MB / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009365/0.9636, allocations: 417.1 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.9636, allocations: 3.938 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.9636, allocations: 0 / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.429e-05/0.9637, allocations: 0 / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.9642, allocations: 95.64 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.512e-05/0.9643, allocations: 15.98 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.9643, allocations: 0 / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.054e-05/0.9644, allocations: 4 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.329e-05/0.9644, allocations: 15.92 kB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.9644, allocations: 0 / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.9647, allocations: 95.84 kB / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.246e-05/0.9647, allocations: 7.984 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.9647, allocations: 3.984 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.9649, allocations: 80.34 kB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.9649, allocations: 0 / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9649, allocations: 4 kB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.9649, allocations: 0 / 1.169 GB, free: 1.938 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.0005382/0.9655, allocations: 343.3 kB / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.9655, allocations: 12.03 kB / 1.169 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.9656, allocations: 4.938 kB / 1.169 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.9658, allocations: 172.2 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.9658, allocations: 4.375 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.9658, allocations: 8.312 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.9659, allocations: 34.25 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.966, allocations: 192 / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.966, allocations: 3.938 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.966, allocations: 4 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.444e-05/0.966, allocations: 0 / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.9662, allocations: 157.7 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.925e-05/0.9663, allocations: 30.61 kB / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.159e-05/0.9663, allocations: 20.73 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.9664, allocations: 0 / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.9665, allocations: 63.47 kB / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.9665, allocations: 4 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002647/0.9668, allocations: 73.56 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.9669, allocations: 59.39 kB / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.456e-05/0.9669, allocations: 97.8 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.967, allocations: 29.7 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.967, allocations: 80.14 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.9671, allocations: 3.953 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.9671, allocations: 29.7 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.9673, allocations: 315 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.641e-05/0.9673, allocations: 11.98 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.251e-05/0.9674, allocations: 35.42 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.542e-05/0.9675, allocations: 43.38 kB / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9675, allocations: 4 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001187/0.9676, allocations: 69.61 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.9676, allocations: 7.938 kB / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.9676, allocations: 0 / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.9677, allocations: 4.047 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.706e-05/0.9678, allocations: 7.938 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.9678, allocations: 4 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.808e-05/0.9678, allocations: 3.953 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.9678, allocations: 4 kB / 1.171 GB, free: 15.97 MB / 0.9044 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.0001495/0.968, allocations: 121.9 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.968, allocations: 7.875 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.968, allocations: 3.5 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.968, allocations: 0 / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.9681, allocations: 0 / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.9681, allocations: 0 / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.9682, allocations: 157.6 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.9682, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.588e-05/0.9683, allocations: 4 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.9683, allocations: 7.938 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.9683, allocations: 0 / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.9683, allocations: 3.984 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9683, allocations: 0 / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.9684, allocations: 85.06 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.809e-05/0.9685, allocations: 81.06 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.9685, allocations: 11.92 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.859e-05/0.9686, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.9686, allocations: 8 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.9686, allocations: 3.938 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.123e-05/0.9687, allocations: 79.28 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.9687, allocations: 0 / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002586/0.9689, allocations: 31.92 kB / 1.171 GB, free: 15.28 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.0004816/0.9694, allocations: 162.4 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000137/0.9696, allocations: 27.92 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.9696, allocations: 0 / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.893e-05/0.9696, allocations: 12 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001526/0.9698, allocations: 4.562 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.9701, allocations: 109.7 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005772/0.9707, allocations: 0.6767 MB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.624e-05/0.9707, allocations: 4.188 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.9708, allocations: 15.42 kB / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of SimCode: time 7.31e-07/0.9708, allocations: 0 / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of Templates: time 0.004259/0.975, allocations: 0.9684 MB / 1.173 GB, free: 13.26 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 -s cvode -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) "" Variables in the reference:time,y Variables in the result:seed,t0,time,y