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.001071/0.001071, allocations: 110 kB / 16.42 MB, free: 6.512 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.0009914/0.0009914, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.297/1.297, 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 9.1.3-maint.9.1.x/package.mo): time 2.18/2.18, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 59.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6574/0.6588, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001918/0.6607, allocations: 1.21 MB / 1.09 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000682/0.6614, allocations: 400.7 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.137e-05/0.6615, allocations: 0 / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.6615, allocations: 5.219 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.642e-05/0.6615, allocations: 0 / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.662, allocations: 90.3 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.402e-05/0.662, allocations: 20.92 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.706e-05/0.6621, allocations: 7.141 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.818e-05/0.6621, allocations: 4.828 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.526e-05/0.6621, allocations: 12.38 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.6621, allocations: 5.062 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.6623, allocations: 93.39 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.6624, allocations: 6.797 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.6624, allocations: 3.875 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.6625, allocations: 83.12 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6626, allocations: 1.609 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6626, allocations: 0 / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.6626, allocations: 0 / 1.09 GB, free: 4.277 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.000341/0.6629, allocations: 345.1 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.663, allocations: 9.5 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.663, allocations: 5.969 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.883e-05/0.6631, allocations: 162.7 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.6631, allocations: 1.469 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.6631, allocations: 7.656 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.46e-05/0.6632, allocations: 35.61 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.6632, allocations: 8.125 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.6632, allocations: 4.641 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.6632, allocations: 0.7188 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.53e-05/0.6632, allocations: 4.547 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001047/0.6634, allocations: 157.1 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.02e-05/0.6634, allocations: 28.8 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.352e-05/0.6635, allocations: 18.33 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.6635, allocations: 0 / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.047e-05/0.6636, allocations: 65.19 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.6636, allocations: 0 / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001657/0.6637, allocations: 72.48 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.782e-05/0.6638, allocations: 53.97 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.386e-05/0.6638, allocations: 93.91 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.495e-06/0.6638, allocations: 30.8 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.317e-05/0.6639, allocations: 85.95 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.6639, allocations: 5.516 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.6639, allocations: 20.95 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.541e-05/0.6639, allocations: 317.5 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.987e-05/0.664, allocations: 6.266 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.783e-05/0.664, allocations: 36.7 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.781e-05/0.6641, allocations: 45.55 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6641, allocations: 5.031 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.6e-05/0.6642, allocations: 68.64 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.6642, allocations: 6.453 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.6642, allocations: 4.688 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.6642, allocations: 2 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.341e-05/0.6643, allocations: 15.39 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.6643, allocations: 2.094 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.608e-05/0.6643, allocations: 5.438 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.6643, allocations: 3.547 kB / 1.092 GB, free: 2.551 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 4.596e-05/0.6644, allocations: 116.9 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.6644, allocations: 1.969 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.014e-05/0.6644, allocations: 8.578 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6644, allocations: 1.078 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6644, allocations: 0.875 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.6644, allocations: 81.67 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.6645, allocations: 1.984 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.992e-05/0.6645, allocations: 0.8125 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/0.6645, allocations: 2.922 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.703e-05/0.6646, allocations: 135.2 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001051/0.6647, allocations: 238.1 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.751e-05/0.6648, allocations: 19.52 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.4e-05/0.6648, allocations: 77.98 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of Backend: time 2.1e-07/0.6648, allocations: 0 / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005071/0.6653, allocations: 161.3 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0002133/0.6655, allocations: 0.5454 MB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of Templates: time 0.003162/0.6687, allocations: 0.9957 MB / 1.094 GB, free: 1.09 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) "" Variables in the reference:time,y Variables in the result:seed,t0,time,y