Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occ.occ",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occ.occ",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007235/0.007235, allocations: 101.3 kB / 15.73 MB, free: 6.012 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.00178/0.00178, allocations: 193.7 kB / 16.67 MB, free: 5.949 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.809/2.809, allocations: 461.9 MB / 0.7348 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.91 kB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3145, allocations: 157.4 MB / 1.208 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002395/0.3169, allocations: 1.323 MB / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007246/0.3177, allocations: 354.8 kB / 1.209 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.3177, allocations: 4 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.985e-05/0.3178, allocations: 3.984 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.37e-05/0.3179, allocations: 3.938 kB / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.3183, allocations: 87.72 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.3184, allocations: 63.89 kB / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.3185, allocations: 8 kB / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.418e-05/0.3185, allocations: 19.92 kB / 1.21 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.351e-05/0.3186, allocations: 19.91 kB / 1.21 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.3186, allocations: 4 kB / 1.21 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.3188, allocations: 75.88 kB / 1.21 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.585e-05/0.3188, allocations: 35.89 kB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/0.3189, allocations: 39.75 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.3191, allocations: 155.5 kB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3191, allocations: 4 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3191, allocations: 4 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.3191, allocations: 0 / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005448/0.3197, allocations: 0.5162 MB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3197, allocations: 8.625 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.3199, allocations: 16.75 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.32, allocations: 172.3 kB / 1.211 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.32, allocations: 4.375 kB / 1.211 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.32, allocations: 384 / 1.211 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.3203, allocations: 250.2 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.3204, allocations: 192 / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.3204, allocations: 7.938 kB / 1.211 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.3204, allocations: 3.938 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.3205, allocations: 144 kB / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.3207, allocations: 193.5 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004098/0.3212, allocations: 0.5298 MB / 1.212 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003775/0.3215, allocations: 0.5204 MB / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.3216, allocations: 4 kB / 1.212 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004321/0.322, allocations: 399.6 kB / 1.213 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=39): time 1.443e-06/0.322, allocations: 3.938 kB / 1.213 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39): time 0.0008351/0.3229, allocations: 0.6931 MB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.802e-05/0.3229, allocations: 101.1 kB / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.136e-05/0.323, allocations: 101.8 kB / 1.213 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.323, allocations: 29.7 kB / 1.213 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.509e-05/0.3231, allocations: 84.83 kB / 1.213 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.506e-05/0.3232, allocations: 78.91 kB / 1.214 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.3232, allocations: 33.7 kB / 1.214 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.3234, allocations: 322.8 kB / 1.214 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.921e-05/0.3235, allocations: 83.97 kB / 1.214 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.001e-05/0.3235, allocations: 79.98 kB / 1.214 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.3239, allocations: 361.3 kB / 1.214 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3239, allocations: 0 / 1.214 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000351/0.3242, allocations: 328.2 kB / 1.215 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.743e-05/0.3243, allocations: 89.64 kB / 1.215 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.3243, allocations: 3.938 kB / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.3244, allocations: 0 / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.234e-05/0.3244, allocations: 192 / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3244, allocations: 0 / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.3246, allocations: 31.67 kB / 1.215 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.3246, allocations: 4 kB / 1.215 GB, free: 2.125 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,occ.hold_time,occ.tNext,$PRE.occ.tNext,occ.mu,occ.occ,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0002367/0.3248, allocations: 261.7 kB / 1.215 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.3249, allocations: 31.73 kB / 1.215 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.384e-05/0.3249, allocations: 9.219 kB / 1.215 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3249, allocations: 3.938 kB / 1.215 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3249, allocations: 4 kB / 1.215 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3249, allocations: 0 / 1.215 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.3251, allocations: 249.4 kB / 1.215 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3251, allocations: 0 / 1.215 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.3251, allocations: 0 / 1.215 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3251, allocations: 3.938 kB / 1.215 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.3252, allocations: 19.98 kB / 1.215 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3252, allocations: 0 / 1.215 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3252, allocations: 0 / 1.215 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.3264, allocations: 1.283 MB / 1.217 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.3264, allocations: 88.95 kB / 1.217 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.393e-05/0.3265, allocations: 79.89 kB / 1.217 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.661e-05/0.3266, allocations: 8.047 kB / 1.217 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.3267, allocations: 7.938 kB / 1.217 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.3267, allocations: 15.98 kB / 1.217 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.41e-05/0.3267, allocations: 79.28 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3268, allocations: 4.031 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003031/0.3271, allocations: 75.94 kB / 1.217 GB, free: 15.82 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0004286/0.3275, allocations: 246.8 kB / 1.217 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001545/0.3291, allocations: 1.964 MB / 1.219 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3291, allocations: 0 / 1.219 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.3304, allocations: 2.011 MB / 1.221 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.3307, allocations: 31.94 kB / 1.221 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.3312, allocations: 342.9 kB / 1.221 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.3315, allocations: 0.7127 MB / 1.222 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.438e-05/0.3315, allocations: 0 / 1.222 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.219e-05/0.3315, allocations: 7.438 kB / 1.222 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.3315, allocations: 0 / 1.222 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of Templates: time 0.005609/0.3371, allocations: 2.738 MB / 1.225 GB, free: 7.707 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches