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.001076/0.001076, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005135/0.005136, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.402/1.402, allocations: 223.3 MB / 240.3 MB, free: 5.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.918/2.918, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003844, allocations: 13.3 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4083, allocations: 159.6 MB / 1.059 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001694/0.41, allocations: 1.054 MB / 1.06 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008198/0.4108, allocations: 378.9 kB / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.57e-05/0.4109, allocations: 0 / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.185e-05/0.411, allocations: 0 / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.102e-05/0.411, allocations: 3.938 kB / 1.06 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.4114, allocations: 79.84 kB / 1.06 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.599e-05/0.4115, allocations: 43.91 kB / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.4116, allocations: 4 kB / 1.06 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.444e-05/0.4116, allocations: 15.94 kB / 1.06 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.184e-05/0.4117, allocations: 23.89 kB / 1.06 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.4117, allocations: 4 kB / 1.06 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.4119, allocations: 71.86 kB / 1.06 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/0.4119, allocations: 27.92 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.36e-05/0.412, allocations: 73.44 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.4122, allocations: 155.5 kB / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4122, allocations: 0 / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4122, allocations: 0 / 1.061 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5e-06/0.4123, allocations: 0 / 1.061 GB, free: 3.559 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0004803/0.4127, allocations: 0.5009 MB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.4128, allocations: 8.031 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.4129, allocations: 16.75 kB / 1.061 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.413, allocations: 176.2 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.4131, allocations: 8.375 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.4131, allocations: 4.375 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.4134, allocations: 230.2 kB / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.4134, allocations: 4.125 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.4134, allocations: 7.938 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.4134, allocations: 4 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.4136, allocations: 151.9 kB / 1.062 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.4137, allocations: 197.4 kB / 1.062 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.4141, allocations: 0.534 MB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.4145, allocations: 0.5207 MB / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.4145, allocations: 0 / 1.063 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004014/0.4149, allocations: 407.6 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=39): time 1.653e-06/0.4149, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39): time 0.0007745/0.4157, allocations: 0.6893 MB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.954e-05/0.4158, allocations: 109.1 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.051e-05/0.4159, allocations: 97.84 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.4159, allocations: 25.7 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.4159, allocations: 80.8 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.605e-05/0.416, allocations: 78.94 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.416, allocations: 29.7 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.4162, allocations: 326.9 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.153e-05/0.4163, allocations: 87.97 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.677e-05/0.4163, allocations: 83.92 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.4166, allocations: 353.3 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4167, allocations: 0 / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003405/0.417, allocations: 336.1 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.623e-05/0.4171, allocations: 85.53 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4171, allocations: 0 / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4171, allocations: 3.984 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/0.4172, allocations: 8.062 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4172, allocations: 0 / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.4173, allocations: 19.78 kB / 1.066 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.4174, allocations: 8 kB / 1.066 GB, free: 14.14 MB / 0.8262 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.0002421/0.4176, allocations: 267.2 kB / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.4177, allocations: 23.75 kB / 1.066 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.161e-05/0.4177, allocations: 5.219 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4177, allocations: 0 / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4177, allocations: 4 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.4177, allocations: 7.984 kB / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.4179, allocations: 241.4 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4179, allocations: 7.984 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.4179, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.4179, allocations: 3.938 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.4179, allocations: 11.98 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4179, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4179, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.4191, allocations: 1.279 MB / 1.067 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.386e-05/0.4192, allocations: 96.89 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.4193, allocations: 79.89 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.874e-05/0.4194, allocations: 11.98 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.4194, allocations: 8 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.4194, allocations: 11.98 kB / 1.068 GB, free: 12 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.812e-05/0.4195, allocations: 87.22 kB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4195, allocations: 0 / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003105/0.4198, allocations: 68 kB / 1.068 GB, free: 11.84 MB / 0.8262 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.0004628/0.4203, allocations: 259.9 kB / 1.068 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.4219, allocations: 1.96 MB / 1.07 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4219, allocations: 0 / 1.07 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001562/0.4235, allocations: 2.015 MB / 1.072 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.4238, allocations: 21.36 kB / 1.072 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.4243, allocations: 354.9 kB / 1.072 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.4246, allocations: 0.7169 MB / 1.073 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.494e-05/0.4246, allocations: 0 / 1.073 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.607e-05/0.4246, allocations: 7.438 kB / 1.073 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of SimCode: time 4.4e-07/0.4246, allocations: 3.938 kB / 1.073 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of Templates: time 0.005745/0.4304, allocations: 2.421 MB / 1.075 GB, free: 4.035 MB / 0.8262 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