Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.001436/0.001436, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001711/0.001711, allocations: 189 kB / 16.14 MB, free: 6.711 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.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.543/2.543, allocations: 390.2 MB / 0.6642 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 72.03 kB / 0.8118 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7493/0.7506, allocations: 140.4 MB / 0.9489 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002572/0.7532, allocations: 1.269 MB / 0.9501 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007921/0.7541, allocations: 414.1 kB / 0.9505 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.7541, allocations: 4 kB / 0.9505 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.241e-05/0.7541, allocations: 1.562 kB / 0.9505 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.414e-05/0.7542, allocations: 0 / 0.9505 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004583/0.7547, allocations: 80.94 kB / 0.9506 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.396e-05/0.7547, allocations: 13.89 kB / 0.9506 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.7548, allocations: 2.969 kB / 0.9506 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.082e-05/0.7548, allocations: 3.25 kB / 0.9506 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.753e-05/0.7548, allocations: 14.36 kB / 0.9507 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.7548, allocations: 0 / 0.9507 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.755, allocations: 91.75 kB / 0.9507 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.755, allocations: 5.359 kB / 0.9507 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.7551, allocations: 10.69 kB / 0.9508 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.7552, allocations: 76.73 kB / 0.9508 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.7553, allocations: 0 / 0.9508 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.61e-07/0.7553, allocations: 0 / 0.9508 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.7553, allocations: 1.375 kB / 0.9508 GB, free: 8.027 MB / 0.7169 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.0004368/0.7557, allocations: 349.1 kB / 0.9512 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.7558, allocations: 13.56 kB / 0.9512 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.7558, allocations: 2.312 kB / 0.9512 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.89e-05/0.7559, allocations: 167.9 kB / 0.9513 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.7559, allocations: 5.734 kB / 0.9513 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.7559, allocations: 5.75 kB / 0.9514 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.756, allocations: 35.75 kB / 0.9514 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.7561, allocations: 192 / 0.9514 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.7561, allocations: 3.938 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.7561, allocations: 1.375 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.788e-05/0.7561, allocations: 2.75 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001254/0.7563, allocations: 152.4 kB / 0.9515 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.276e-05/0.7563, allocations: 38.8 kB / 0.9516 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.7564, allocations: 12.98 kB / 0.9516 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.7564, allocations: 0 / 0.9516 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.7565, allocations: 55.73 kB / 0.9516 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.7565, allocations: 0 / 0.9516 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002024/0.7568, allocations: 70.31 kB / 0.9517 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.7568, allocations: 60.77 kB / 0.9518 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.528e-05/0.7569, allocations: 96.52 kB / 0.9519 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.986e-06/0.7569, allocations: 29.7 kB / 0.9519 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.056e-05/0.7569, allocations: 85.5 kB / 0.952 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.7569, allocations: 5.281 kB / 0.952 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.757, allocations: 27.14 kB / 0.952 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.213e-05/0.757, allocations: 316.2 kB / 0.9523 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.127e-05/0.757, allocations: 8.25 kB / 0.9523 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-05/0.7571, allocations: 35.67 kB / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.572e-05/0.7571, allocations: 47.92 kB / 0.9524 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7572, allocations: 0 / 0.9524 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.672e-05/0.7573, allocations: 72.98 kB / 0.9525 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.7573, allocations: 13.38 kB / 0.9525 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.7573, allocations: 5.312 kB / 0.9525 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.7573, allocations: 1.375 kB / 0.9525 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.585e-05/0.7574, allocations: 5.5 kB / 0.9525 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.7574, allocations: 2.125 kB / 0.9525 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.851e-05/0.7575, allocations: 5.219 kB / 0.9525 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.7575, allocations: 2 kB / 0.9525 GB, free: 6.242 MB / 0.7169 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.087e-05/0.7575, allocations: 120.9 kB / 0.9526 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.7576, allocations: 9.188 kB / 0.9526 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.7576, allocations: 4.844 kB / 0.9526 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.7576, allocations: 0 / 0.9526 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.7576, allocations: 1.062 kB / 0.9526 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.7576, allocations: 0 / 0.9526 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.98e-05/0.7577, allocations: 153.9 kB / 0.9528 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.7577, allocations: 4 kB / 0.9528 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.521e-05/0.7577, allocations: 5.125 kB / 0.9528 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.7578, allocations: 5.031 kB / 0.9528 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.7578, allocations: 1.094 kB / 0.9528 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7578, allocations: 4 kB / 0.9528 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7578, allocations: 0.9688 kB / 0.9528 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.475e-05/0.7579, allocations: 81.95 kB / 0.9529 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.7579, allocations: 78.2 kB / 0.9529 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.7579, allocations: 5 kB / 0.9529 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.242e-05/0.758, allocations: 9.109 kB / 0.953 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.758, allocations: 1.062 kB / 0.953 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.758, allocations: 5.281 kB / 0.953 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.131e-05/0.758, allocations: 77.84 kB / 0.953 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.758, allocations: 0 / 0.953 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002555/0.7583, allocations: 32.14 kB / 0.9531 GB, free: 5.617 MB / 0.7169 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.0003337/0.7586, allocations: 164.6 kB / 0.9532 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.7587, allocations: 29.02 kB / 0.9533 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7588, allocations: 0 / 0.9533 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.417e-05/0.7588, allocations: 16.16 kB / 0.9533 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.7589, allocations: 2.781 kB / 0.9533 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000219/0.7592, allocations: 102.6 kB / 0.9534 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.7593, allocations: 0.6767 MB / 0.954 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.577e-05/0.7593, allocations: 7.031 kB / 0.954 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.548e-05/0.7593, allocations: 9.125 kB / 0.954 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.7593, allocations: 0 / 0.954 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of Templates: time 0.003455/0.7628, allocations: 0.9494 MB / 0.955 GB, free: 4.152 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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