Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occ.occ",fileNamePrefix="Buildings_9_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_9_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.001573/0.001573, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001867/0.001867, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.16 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.385/2.385, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 63.91 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7988/0.8002, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.00212/0.8024, allocations: 1.331 MB / 1.09 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007048/0.8031, allocations: 354.8 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.916e-05/0.8031, allocations: 0 / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.824e-05/0.8032, allocations: 9.156 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.55e-05/0.8033, allocations: 5.297 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.8037, allocations: 82.2 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.8038, allocations: 64.2 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.8039, allocations: 6.828 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.48e-05/0.8039, allocations: 18.48 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.011e-05/0.804, allocations: 19.92 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.804, allocations: 3.844 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.8042, allocations: 80.02 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.8042, allocations: 24.67 kB / 1.091 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.25e-05/0.8043, allocations: 54.86 kB / 1.091 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.8046, allocations: 151.7 kB / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8046, allocations: 9.031 kB / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8046, allocations: 0 / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.8046, allocations: 0 / 1.091 GB, free: 4.141 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0004613/0.805, allocations: 0.515 MB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.8051, allocations: 9.469 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.8052, allocations: 14.91 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.516e-05/0.8053, allocations: 176.5 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.8053, allocations: 2.219 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.8053, allocations: 4.562 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.8056, allocations: 247.4 kB / 1.092 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.8057, allocations: 4.781 kB / 1.092 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.8057, allocations: 5.375 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.8057, allocations: 0.6562 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.8059, allocations: 148.9 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.806, allocations: 191.6 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.8064, allocations: 0.5347 MB / 1.093 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/0.8067, allocations: 0.5199 MB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.8067, allocations: 4.516 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004292/0.8072, allocations: 401.6 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=39): time 1.884e-06/0.8072, allocations: 3.984 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of matching and sorting (n=39): time 0.0008979/0.8081, allocations: 0.6974 MB / 1.094 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.8082, allocations: 104.3 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.343e-05/0.8082, allocations: 100.6 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.8082, allocations: 27.3 kB / 1.094 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.596e-05/0.8083, allocations: 85.44 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.591e-05/0.8083, allocations: 74.69 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.8084, allocations: 31.69 kB / 1.095 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.726e-05/0.8084, allocations: 327.8 kB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.736e-05/0.8085, allocations: 83.16 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.641e-05/0.8086, allocations: 83.69 kB / 1.095 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.809, allocations: 356.2 kB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.809, allocations: 1.125 kB / 1.095 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003855/0.8094, allocations: 340.1 kB / 1.096 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-05/0.8095, allocations: 81.64 kB / 1.096 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.8095, allocations: 0.8125 kB / 1.096 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.8095, allocations: 0 / 1.096 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.599e-05/0.8096, allocations: 2.734 kB / 1.096 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.8096, allocations: 0 / 1.096 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.8097, allocations: 23.56 kB / 1.096 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.8098, allocations: 6.906 kB / 1.096 GB, free: 0.6992 MB / 0.8575 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.0002609/0.81, allocations: 262.3 kB / 1.096 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-05/0.8101, allocations: 31.05 kB / 1.096 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.067e-05/0.8101, allocations: 5.219 kB / 1.096 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.8101, allocations: 1.484 kB / 1.096 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.8101, allocations: 0.6875 kB / 1.096 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.8101, allocations: 0 / 1.096 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.8103, allocations: 248.1 kB / 1.096 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.8103, allocations: 1.734 kB / 1.096 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.8103, allocations: 0 / 1.096 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.8103, allocations: 4.906 kB / 1.096 GB, free: 288 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/0.8103, allocations: 15.23 kB / 1.096 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.8104, allocations: 0.9375 kB / 1.096 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.8104, allocations: 4 kB / 1.096 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.8118, allocations: 1.284 MB / 1.098 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.8119, allocations: 97.77 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.812, allocations: 76.39 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.718e-05/0.8121, allocations: 7.922 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.8121, allocations: 9.797 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.8122, allocations: 18.61 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.701e-05/0.8122, allocations: 84.16 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8122, allocations: 0 / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003292/0.8126, allocations: 68.61 kB / 1.098 GB, free: 15.62 MB / 0.8731 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.0004443/0.813, allocations: 246.8 kB / 1.098 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001817/0.8148, allocations: 1.964 MB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.8149, allocations: 0 / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001728/0.8166, allocations: 2.016 MB / 1.102 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.8168, allocations: 22.66 kB / 1.102 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000557/0.8174, allocations: 358.8 kB / 1.102 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.8177, allocations: 0.7137 MB / 1.103 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.227e-05/0.8177, allocations: 7.438 kB / 1.103 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/0.8177, allocations: 1.375 kB / 1.103 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of Templates: time 0.005351/0.8231, allocations: 2.433 MB / 1.105 GB, free: 12.07 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches