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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001395/0.001395, 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.001596/0.001596, allocations: 196.7 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.526/1.526, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.781/2.781, allocations: 461.8 MB / 0.7342 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 62.69 kB / 0.8984 GB, free: 37.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3636, allocations: 157.4 MB / 1.052 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002567/0.3662, allocations: 1.286 MB / 1.053 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009766/0.3672, allocations: 430.7 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.605e-05/0.3672, allocations: 3.938 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.292e-05/0.3672, allocations: 4 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.37e-05/0.3673, allocations: 0 / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004947/0.3678, allocations: 87.78 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.282e-05/0.3679, allocations: 19.88 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.196e-05/0.3679, allocations: 0 / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.227e-05/0.368, allocations: 11.98 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.029e-05/0.368, allocations: 7.938 kB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.368, allocations: 4 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.3682, allocations: 99.88 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.3683, allocations: 4 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.3683, allocations: 11.94 kB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.3685, allocations: 95.73 kB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3685, allocations: 4 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3685, allocations: 0 / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.3685, allocations: 0 / 1.054 GB, free: 6.863 MB / 0.8106 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.0005263/0.3691, allocations: 381.4 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.3691, allocations: 8.031 kB / 1.054 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.3692, allocations: 8.781 kB / 1.054 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.3693, allocations: 168.4 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.3693, allocations: 4.375 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.3694, allocations: 4.375 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.3695, allocations: 38.23 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3695, allocations: 192 / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3695, allocations: 3.938 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3695, allocations: 0 / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.371e-05/0.3696, allocations: 7.938 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.3697, allocations: 157.7 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.253e-05/0.3698, allocations: 30.61 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/0.3699, allocations: 12.86 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.3699, allocations: 4 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.37, allocations: 55.48 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.3701, allocations: 0 / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002381/0.3703, allocations: 69.56 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.3704, allocations: 59.39 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.376e-05/0.3705, allocations: 102 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.3705, allocations: 29.7 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.3705, allocations: 80.14 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.3706, allocations: 19.73 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.3706, allocations: 21.72 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3708, allocations: 310.8 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.377e-05/0.3708, allocations: 11.98 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.541e-05/0.3708, allocations: 31.44 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.128e-05/0.3709, allocations: 51.36 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3709, allocations: 0 / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001025/0.371, allocations: 73.56 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.371, allocations: 7.938 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.371, allocations: 4 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3711, allocations: 0 / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.642e-05/0.3711, allocations: 8 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3712, allocations: 3.984 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.721e-05/0.3712, allocations: 4 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3712, allocations: 4 kB / 1.056 GB, free: 4.867 MB / 0.8106 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 0.0001053/0.3713, allocations: 119.4 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.3713, allocations: 11.78 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.3714, allocations: 7.5 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3714, allocations: 0 / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.3714, allocations: 4 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3714, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.3715, allocations: 153.7 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3715, allocations: 7.922 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.006e-05/0.3716, allocations: 0 / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3716, allocations: 3.938 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3716, allocations: 4 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3716, allocations: 4 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3716, allocations: 0 / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.3717, allocations: 89.11 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.3718, allocations: 77.11 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.3718, allocations: 7.938 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.3718, allocations: 0 / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.3718, allocations: 0 / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.3719, allocations: 7.984 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.305e-05/0.3719, allocations: 83.22 kB / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.613e-06/0.3719, allocations: 0 / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000248/0.3722, allocations: 35.94 kB / 1.056 GB, free: 4.168 MB / 0.8106 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.0003784/0.3726, allocations: 163.4 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.3727, allocations: 39.98 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3727, allocations: 0 / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.575e-05/0.3727, allocations: 8 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.3729, allocations: 4 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.3731, allocations: 110.5 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.3734, allocations: 0.6809 MB / 1.057 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.919e-05/0.3734, allocations: 4.125 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.715e-05/0.3735, allocations: 15.42 kB / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3735, allocations: 4 kB / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of Templates: time 0.003335/0.3768, allocations: 1.004 MB / 1.058 GB, free: 2.09 MB / 0.8106 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/jenkins/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