Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.001217/0.001217, allocations: 110.5 kB / 16.42 MB, free: 5.977 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.001177/0.001178, allocations: 184.9 kB / 17.35 MB, free: 5.582 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.312/1.312, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.611/2.611, allocations: 472.7 MB / 0.746 GB, free: 420 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 55.91 kB / 1.07 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6627/0.6641, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001953/0.6661, allocations: 1.215 MB / 1.228 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0007408/0.6668, allocations: 414.6 kB / 1.228 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.461e-05/0.6669, allocations: 4 kB / 1.228 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.425e-05/0.6669, allocations: 0 / 1.228 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.763e-05/0.6669, allocations: 3.938 kB / 1.228 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.6674, allocations: 99.66 kB / 1.228 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.048e-05/0.6675, allocations: 19.98 kB / 1.228 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.6675, allocations: 3.984 kB / 1.228 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.067e-05/0.6676, allocations: 11.88 kB / 1.228 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.319e-05/0.6676, allocations: 11.98 kB / 1.228 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.6676, allocations: 3.938 kB / 1.228 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.6678, allocations: 99.91 kB / 1.228 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.6678, allocations: 7.922 kB / 1.228 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.6679, allocations: 8 kB / 1.228 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.668, allocations: 87.33 kB / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.6681, allocations: 0 / 1.228 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6681, allocations: 7.938 kB / 1.228 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.6681, allocations: 0 / 1.228 GB, free: 11.53 MB / 0.9512 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.0004265/0.6685, allocations: 389.8 kB / 1.229 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.6685, allocations: 8.031 kB / 1.229 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.6686, allocations: 8.891 kB / 1.229 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.451e-05/0.6687, allocations: 168.4 kB / 1.229 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.6687, allocations: 384 / 1.229 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.6687, allocations: 8.375 kB / 1.229 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.61e-05/0.6688, allocations: 34.25 kB / 1.229 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.6688, allocations: 192 / 1.229 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.6689, allocations: 3.938 kB / 1.229 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.6689, allocations: 0 / 1.229 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.058e-05/0.6689, allocations: 4 kB / 1.229 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.669, allocations: 165.6 kB / 1.229 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.041e-05/0.6691, allocations: 26.58 kB / 1.229 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.6692, allocations: 16.94 kB / 1.229 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.189e-06/0.6692, allocations: 0 / 1.229 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/0.6693, allocations: 55.41 kB / 1.229 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.6693, allocations: 0 / 1.229 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0001946/0.6695, allocations: 77.55 kB / 1.229 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.6695, allocations: 51.41 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.734e-05/0.6696, allocations: 105.8 kB / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.6696, allocations: 25.7 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.6697, allocations: 88.12 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.6697, allocations: 7.953 kB / 1.229 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.6697, allocations: 21.7 kB / 1.229 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.79e-05/0.6698, allocations: 318.8 kB / 1.23 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.6699, allocations: 8 kB / 1.23 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-05/0.6699, allocations: 31.42 kB / 1.23 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.915e-05/0.67, allocations: 43.75 kB / 1.23 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.67, allocations: 4 kB / 1.23 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.719e-05/0.6701, allocations: 73.55 kB / 1.23 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.6701, allocations: 11.92 kB / 1.23 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6701, allocations: 3.938 kB / 1.23 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.6701, allocations: 7.938 kB / 1.23 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.862e-05/0.6702, allocations: 8 kB / 1.23 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.6702, allocations: 4.156 kB / 1.23 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.625e-05/0.6702, allocations: 7.891 kB / 1.23 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.6702, allocations: 8 kB / 1.23 GB, free: 9.512 MB / 0.9512 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.499e-05/0.6703, allocations: 118.5 kB / 1.23 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.6703, allocations: 0 / 1.23 GB, free: 9.387 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.6704, allocations: 15.42 kB / 1.23 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.6704, allocations: 0 / 1.23 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.6704, allocations: 0 / 1.23 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.6704, allocations: 81.11 kB / 1.23 GB, free: 9.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.6704, allocations: 3.938 kB / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.105e-05/0.6705, allocations: 0 / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.6705, allocations: 0 / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001247/0.6706, allocations: 141 kB / 1.23 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001551/0.6708, allocations: 234.7 kB / 1.231 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.292e-05/0.6708, allocations: 15.94 kB / 1.231 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.065e-05/0.6708, allocations: 79.27 kB / 1.231 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of Backend: time 3.21e-07/0.6709, allocations: 4 kB / 1.231 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005207/0.6714, allocations: 153.8 kB / 1.231 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0003058/0.6717, allocations: 0.5525 MB / 1.231 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of Templates: time 0.0031/0.6748, allocations: 1.065 MB / 1.232 GB, free: 6.969 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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