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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001504/0.001504, allocations: 115.7 kB / 16.37 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.001627/0.001627, allocations: 193.8 kB / 17.31 MB, free: 5.613 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.243/2.243, allocations: 390.3 MB / 0.6655 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001289, allocations: 60.69 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2616, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002721/0.2643, allocations: 1.335 MB / 0.9524 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000737/0.2651, allocations: 357 kB / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.2651, allocations: 0 / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.229e-05/0.2652, allocations: 0 / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.503e-05/0.2653, allocations: 3.938 kB / 0.9528 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.2657, allocations: 91.72 kB / 0.9529 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.2659, allocations: 63.89 kB / 0.9529 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.2659, allocations: 4 kB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.306e-05/0.266, allocations: 19.92 kB / 0.9529 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.283e-05/0.266, allocations: 19.91 kB / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.2661, allocations: 8 kB / 0.953 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.2662, allocations: 83.86 kB / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.391e-05/0.2663, allocations: 31.91 kB / 0.9531 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.961e-05/0.2663, allocations: 43.73 kB / 0.9531 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.2666, allocations: 155.5 kB / 0.9533 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2666, allocations: 0 / 0.9533 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2666, allocations: 0 / 0.9533 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.2666, allocations: 0 / 0.9533 GB, free: 5.824 MB / 0.7325 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.0005856/0.2672, allocations: 0.5162 MB / 0.9538 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.2672, allocations: 12.03 kB / 0.9538 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.2673, allocations: 16.75 kB / 0.9538 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.2675, allocations: 176.2 kB / 0.954 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.2675, allocations: 4.312 kB / 0.954 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.2675, allocations: 4.375 kB / 0.954 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.2678, allocations: 242.1 kB / 0.9542 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.2678, allocations: 192 / 0.9542 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.2678, allocations: 15.92 kB / 0.9542 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2678, allocations: 3.984 kB / 0.9542 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.268, allocations: 144 kB / 0.9544 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.2682, allocations: 201.4 kB / 0.9546 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.2686, allocations: 0.5298 MB / 0.9551 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/0.2689, allocations: 0.5204 MB / 0.9556 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.2689, allocations: 0 / 0.9556 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003852/0.2693, allocations: 403.6 kB / 0.956 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 1.193e-06/0.2693, allocations: 4 kB / 0.956 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.0007966/0.2701, allocations: 0.6853 MB / 0.9566 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.944e-05/0.2702, allocations: 109.1 kB / 0.9567 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.538e-05/0.2703, allocations: 97.86 kB / 0.9568 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.2703, allocations: 25.7 kB / 0.9569 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.2704, allocations: 84.8 kB / 0.9569 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.938e-05/0.2704, allocations: 71 kB / 0.957 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.2705, allocations: 37.7 kB / 0.957 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2706, allocations: 330.8 kB / 0.9574 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.365e-05/0.2707, allocations: 83.92 kB / 0.9574 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.327e-05/0.2708, allocations: 83.97 kB / 0.9575 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.2711, allocations: 353.4 kB / 0.9579 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2711, allocations: 3.938 kB / 0.9579 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003252/0.2714, allocations: 332.1 kB / 0.9582 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-05/0.2715, allocations: 85.58 kB / 0.9583 GB, free: 432 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2715, allocations: 4 kB / 0.9583 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2715, allocations: 0 / 0.9583 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.406e-05/0.2716, allocations: 0 / 0.9583 GB, free: 428 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2716, allocations: 4.062 kB / 0.9583 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.033e-05/0.2717, allocations: 19.78 kB / 0.9583 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.2717, allocations: 8 kB / 0.9583 GB, free: 396 kB / 0.7325 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.0002283/0.272, allocations: 269.1 kB / 0.9585 GB, free: 112 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/0.272, allocations: 31.73 kB / 0.9586 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.428e-05/0.272, allocations: 5.219 kB / 0.9586 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.272, allocations: 0 / 0.9586 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.272, allocations: 0 / 0.9586 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2721, allocations: 0 / 0.9586 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.2723, allocations: 249.4 kB / 0.9588 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2723, allocations: 4 kB / 0.9588 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.2723, allocations: 0 / 0.9588 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2723, allocations: 7.875 kB / 0.9588 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.2723, allocations: 15.98 kB / 0.9588 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2723, allocations: 0 / 0.9588 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2723, allocations: 4 kB / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.2735, allocations: 1.275 MB / 0.9601 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.2736, allocations: 96.84 kB / 0.9602 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.2737, allocations: 83.92 kB / 0.9603 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.555e-05/0.2738, allocations: 12 kB / 0.9603 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.2739, allocations: 7.984 kB / 0.9603 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.2739, allocations: 15.94 kB / 0.9603 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.404e-05/0.2739, allocations: 75.28 kB / 0.9604 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2739, allocations: 0 / 0.9604 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002946/0.2742, allocations: 71.98 kB / 0.9604 GB, free: 14.07 MB / 0.7481 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.000408/0.2747, allocations: 250.8 kB / 0.9607 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001639/0.2763, allocations: 1.964 MB / 0.9626 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2763, allocations: 0 / 0.9626 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001413/0.2777, allocations: 2.015 MB / 0.9646 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.278, allocations: 17.03 kB / 0.9646 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.2785, allocations: 323.6 kB / 0.9649 GB, free: 9.477 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.2787, allocations: 0.7204 MB / 0.9656 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.46e-05/0.2788, allocations: 11.88 kB / 0.9656 GB, free: 8.715 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.005e-05/0.2788, allocations: 11.38 kB / 0.9656 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.2788, allocations: 0 / 0.9656 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of Templates: time 0.005375/0.2842, allocations: 2.635 MB / 0.9682 GB, free: 6.074 MB / 0.7481 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 -s gbode -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