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.001435/0.001435, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001698/0.001698, allocations: 193.9 kB / 16.14 MB, free: 6.703 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.347/1.347, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.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.352/2.352, allocations: 390.2 MB / 0.6642 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 59.91 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6906/0.6918, allocations: 140.4 MB / 0.9489 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.00341/0.6953, allocations: 1.395 MB / 0.9503 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.6964, allocations: 366.8 kB / 0.9506 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.179e-05/0.6965, allocations: 5.281 kB / 0.9506 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.6966, allocations: 3.938 kB / 0.9506 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.565e-05/0.6967, allocations: 9.391 kB / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004594/0.6972, allocations: 69.08 kB / 0.9507 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.641e-05/0.6973, allocations: 42 kB / 0.9507 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.766e-05/0.6973, allocations: 6.406 kB / 0.9507 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.617e-05/0.6974, allocations: 15.61 kB / 0.9508 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.681e-05/0.6974, allocations: 23.41 kB / 0.9508 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.6975, allocations: 1.25 kB / 0.9508 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.6976, allocations: 74.73 kB / 0.9509 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.6977, allocations: 23.67 kB / 0.9509 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.821e-05/0.6978, allocations: 52.55 kB / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.698, allocations: 156.1 kB / 0.9511 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.698, allocations: 1.094 kB / 0.9511 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6981, allocations: 0 / 0.9511 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.6981, allocations: 3.938 kB / 0.9511 GB, free: 7.598 MB / 0.7169 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.0005341/0.6986, allocations: 0.5125 MB / 0.9516 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.6987, allocations: 9.781 kB / 0.9516 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.6988, allocations: 21.11 kB / 0.9516 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.396e-05/0.6989, allocations: 175 kB / 0.9518 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.6989, allocations: 7.188 kB / 0.9518 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.699, allocations: 3.188 kB / 0.9518 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.6993, allocations: 241.8 kB / 0.952 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.6993, allocations: 192 / 0.952 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.6993, allocations: 6.406 kB / 0.952 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.6993, allocations: 4 kB / 0.952 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.6995, allocations: 143.6 kB / 0.9522 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.6997, allocations: 194.7 kB / 0.9524 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.7, allocations: 0.5407 MB / 0.9529 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/0.7004, allocations: 0.5238 MB / 0.9534 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.7004, allocations: 0 / 0.9534 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004782/0.7009, allocations: 395.2 kB / 0.9538 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=39): time 1.192e-06/0.7009, allocations: 1.125 kB / 0.9538 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=39): time 0.0008848/0.7018, allocations: 0.6905 MB / 0.9544 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.7019, allocations: 105.5 kB / 0.9545 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.529e-05/0.702, allocations: 101.8 kB / 0.9546 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.702, allocations: 28.39 kB / 0.9547 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.673e-05/0.702, allocations: 84.78 kB / 0.9548 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.409e-05/0.7021, allocations: 72.98 kB / 0.9548 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.587e-05/0.7021, allocations: 35.03 kB / 0.9549 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.565e-05/0.7022, allocations: 327.3 kB / 0.9552 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.866e-05/0.7023, allocations: 81.02 kB / 0.9552 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.296e-05/0.7024, allocations: 81.41 kB / 0.9553 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.7027, allocations: 361.4 kB / 0.9557 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7027, allocations: 0 / 0.9557 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003308/0.703, allocations: 336.1 kB / 0.956 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.065e-05/0.7031, allocations: 81.08 kB / 0.9561 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.7031, allocations: 0 / 0.9561 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.7032, allocations: 1.375 kB / 0.9561 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.048e-05/0.7032, allocations: 5.375 kB / 0.9561 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.7032, allocations: 0 / 0.9561 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.7033, allocations: 17.47 kB / 0.9561 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.7034, allocations: 10.86 kB / 0.9561 GB, free: 3.887 MB / 0.7169 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.0002179/0.7036, allocations: 269.3 kB / 0.9564 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.7036, allocations: 25.5 kB / 0.9564 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.397e-05/0.7037, allocations: 6.594 kB / 0.9564 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.7037, allocations: 0 / 0.9564 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.7037, allocations: 0 / 0.9564 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7037, allocations: 0 / 0.9564 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.7038, allocations: 245.4 kB / 0.9566 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.7038, allocations: 0 / 0.9566 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-07/0.7039, allocations: 0 / 0.9566 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.7039, allocations: 5.281 kB / 0.9566 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.7039, allocations: 20.7 kB / 0.9566 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.7039, allocations: 0 / 0.9566 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.7039, allocations: 8.922 kB / 0.9567 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.7052, allocations: 1.288 MB / 0.9579 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.509e-05/0.7053, allocations: 93.17 kB / 0.958 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.7054, allocations: 79.52 kB / 0.9581 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.687e-05/0.7055, allocations: 6.906 kB / 0.9581 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.7055, allocations: 15.39 kB / 0.9581 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.7056, allocations: 25.33 kB / 0.9581 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.718e-05/0.7056, allocations: 77.59 kB / 0.9582 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7056, allocations: 0 / 0.9582 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003303/0.706, allocations: 68.19 kB / 0.9583 GB, free: 2.539 MB / 0.7169 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.0005001/0.7065, allocations: 246.7 kB / 0.9585 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001491/0.708, allocations: 1.961 MB / 0.9604 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.708, allocations: 4.062 kB / 0.9604 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001439/0.7094, allocations: 2.014 MB / 0.9624 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.7097, allocations: 19.78 kB / 0.9624 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006275/0.7103, allocations: 346 kB / 0.9627 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.7106, allocations: 0.7166 MB / 0.9634 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.794e-05/0.7106, allocations: 1.094 kB / 0.9634 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.412e-05/0.7107, allocations: 11.38 kB / 0.9634 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.7107, allocations: 1.125 kB / 0.9634 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of Templates: time 0.005881/0.7166, allocations: 2.428 MB / 0.9658 GB, free: 13.7 MB / 0.7325 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/jenkins/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