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.001053/0.001053, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.0009934/0.0009933, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.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.167/2.167, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 67.91 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8481/0.8493, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002141/0.8515, allocations: 1.212 MB / 1.09 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007855/0.8523, allocations: 394.2 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.8523, allocations: 1.125 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.8523, allocations: 0 / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.267e-05/0.8524, allocations: 3.938 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004991/0.8529, allocations: 93.95 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.28e-05/0.853, allocations: 25.19 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.477e-05/0.853, allocations: 11.17 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.22e-05/0.853, allocations: 4.734 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.843e-05/0.8531, allocations: 9.625 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.8531, allocations: 1.062 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.8533, allocations: 85.38 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.586e-05/0.8533, allocations: 9.797 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.8533, allocations: 3.547 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.8535, allocations: 88.45 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8536, allocations: 0 / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8536, allocations: 0.9688 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.8536, allocations: 0 / 1.09 GB, free: 4.289 MB / 0.8575 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.0003909/0.854, allocations: 344.8 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.854, allocations: 9.578 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.8541, allocations: 3.094 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.387e-05/0.8541, allocations: 161.6 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.8542, allocations: 2.734 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.8542, allocations: 3.281 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.217e-05/0.8543, allocations: 38.77 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.8543, allocations: 5.281 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.8543, allocations: 4.453 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.8543, allocations: 1.281 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.708e-05/0.8543, allocations: 7.891 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.8545, allocations: 157 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.253e-05/0.8545, allocations: 28.14 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.423e-05/0.8546, allocations: 10.94 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-06/0.8546, allocations: 3.938 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.8547, allocations: 73.84 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.8547, allocations: 0 / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001825/0.8549, allocations: 72 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.8549, allocations: 53.2 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.086e-05/0.855, allocations: 95.11 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.749e-06/0.855, allocations: 30.83 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.699e-05/0.855, allocations: 84.88 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.8551, allocations: 6.719 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.8551, allocations: 21.33 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.883e-05/0.8552, allocations: 317.2 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.8552, allocations: 6.109 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.902e-05/0.8552, allocations: 36.06 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.308e-05/0.8553, allocations: 45.44 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8553, allocations: 1.188 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.272e-05/0.8554, allocations: 73.45 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.8554, allocations: 9.703 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.8554, allocations: 1.062 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.8554, allocations: 1.25 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.545e-05/0.8555, allocations: 12.05 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.8555, allocations: 2.969 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.8555, allocations: 5 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.8555, allocations: 6.188 kB / 1.092 GB, free: 2.562 MB / 0.8575 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 5.144e-05/0.8556, allocations: 118.2 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.8556, allocations: 5.797 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.8556, allocations: 4.297 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.8557, allocations: 1.344 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.8557, allocations: 4 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.8557, allocations: 0.5156 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.843e-05/0.8558, allocations: 157.2 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.8558, allocations: 0.6875 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.421e-05/0.8558, allocations: 1.953 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.8558, allocations: 4.938 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.8558, allocations: 1.859 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.8558, allocations: 0 / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.8558, allocations: 5.828 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.8559, allocations: 85.09 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/0.8559, allocations: 84.52 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.856, allocations: 8.391 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.094e-05/0.856, allocations: 1.828 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.856, allocations: 6.234 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.856, allocations: 1.828 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.992e-05/0.8561, allocations: 78.11 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8561, allocations: 0 / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002557/0.8563, allocations: 26.33 kB / 1.093 GB, free: 1.961 MB / 0.8575 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.0003102/0.8566, allocations: 166.5 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.8568, allocations: 29.27 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8568, allocations: 0 / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.507e-05/0.8568, allocations: 13.92 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.8569, allocations: 6.391 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002095/0.8572, allocations: 119.5 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.756e-05/0.8573, allocations: 0.6759 MB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.786e-05/0.8573, allocations: 9.438 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.8573, allocations: 0 / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of Templates: time 0.003268/0.8606, allocations: 1.156 MB / 1.095 GB, free: 0.875 MB / 0.8575 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches