Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 108.5 kB / 16.41 MB, free: 6.406 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.001693/0.001693, allocations: 192.3 kB / 17.35 MB, free: 5.691 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.07 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.162/2.162, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6766/0.6779, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.00187/0.6798, allocations: 1.216 MB / 1.09 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006694/0.6805, allocations: 414.4 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.6805, allocations: 9.094 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.6806, allocations: 0 / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.25e-05/0.6806, allocations: 0 / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.6811, allocations: 110.3 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.853e-05/0.6811, allocations: 20.39 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.565e-05/0.6812, allocations: 1.625 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.969e-05/0.6812, allocations: 5.938 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.759e-05/0.6812, allocations: 13.86 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.6813, allocations: 5.047 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.6815, allocations: 99.33 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.6815, allocations: 6.891 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.6815, allocations: 12.44 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.6817, allocations: 94.91 kB / 1.091 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6817, allocations: 1.094 kB / 1.091 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6817, allocations: 0 / 1.091 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.6817, allocations: 0 / 1.091 GB, free: 4.262 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.0003581/0.6821, allocations: 378.4 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.6821, allocations: 9.594 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.6822, allocations: 7.094 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.093e-05/0.6822, allocations: 171.1 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.6822, allocations: 2.109 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.6823, allocations: 6.781 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.754e-05/0.6824, allocations: 36.52 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.6824, allocations: 192 / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.6824, allocations: 4.453 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.6824, allocations: 5.297 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.886e-05/0.6824, allocations: 8 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.913e-05/0.6825, allocations: 155.7 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.249e-05/0.6826, allocations: 32.84 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.3e-05/0.6826, allocations: 19.02 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.623e-06/0.6827, allocations: 0 / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.6828, allocations: 54.19 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.6828, allocations: 0 / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002143/0.683, allocations: 73.12 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.683, allocations: 57.02 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.657e-05/0.6831, allocations: 109.8 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.6831, allocations: 26.8 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.522e-05/0.6832, allocations: 81.72 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.6832, allocations: 9.594 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.6832, allocations: 21.44 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.795e-05/0.6833, allocations: 314.2 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.268e-05/0.6833, allocations: 12.55 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.938e-05/0.6833, allocations: 33.83 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.431e-05/0.6834, allocations: 41.31 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6834, allocations: 4 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.529e-05/0.6835, allocations: 70.48 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.6835, allocations: 7.703 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.6835, allocations: 5.281 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.6836, allocations: 2.234 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.072e-05/0.6836, allocations: 11.55 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.6837, allocations: 2.109 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.612e-05/0.6837, allocations: 7.734 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.6837, allocations: 3.016 kB / 1.092 GB, free: 2.5 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.915e-05/0.6838, allocations: 113 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.6838, allocations: 5.75 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.6838, allocations: 13.12 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.6838, allocations: 0 / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6838, allocations: 1.859 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.6839, allocations: 79.59 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.6839, allocations: 0.7031 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.293e-05/0.6839, allocations: 1.719 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.6839, allocations: 2.547 kB / 1.092 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001201/0.6841, allocations: 149.3 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001347/0.6842, allocations: 230.6 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.488e-05/0.6842, allocations: 11.73 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.402e-05/0.6843, allocations: 79.8 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of Backend: time 2.2e-07/0.6843, allocations: 0.75 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005921/0.6849, allocations: 166.6 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0002622/0.6851, allocations: 0.5469 MB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of Templates: time 0.003884/0.689, allocations: 1.049 MB / 1.095 GB, free: 1.039 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y