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.001093/0.001093, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001111/0.001111, allocations: 198.9 kB / 16.26 MB, free: 6.625 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.475/2.475, allocations: 390.2 MB / 0.6643 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 59.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8218/0.8231, allocations: 140.4 MB / 0.9491 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002167/0.8253, allocations: 1.387 MB / 0.9504 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006255/0.8259, allocations: 358.9 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.826, allocations: 1.375 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.905e-05/0.8261, allocations: 0 / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.965e-05/0.8261, allocations: 9.297 kB / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.8265, allocations: 77.83 kB / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.8266, allocations: 57.69 kB / 0.9509 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.8267, allocations: 5.047 kB / 0.9509 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.04e-05/0.8267, allocations: 16.05 kB / 0.9509 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.469e-05/0.8268, allocations: 18.98 kB / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.8268, allocations: 4.125 kB / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.8269, allocations: 84.75 kB / 0.951 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.827, allocations: 27.8 kB / 0.9511 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.262e-05/0.827, allocations: 56.55 kB / 0.9511 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.8272, allocations: 158.1 kB / 0.9513 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8272, allocations: 0 / 0.9513 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8273, allocations: 0 / 0.9513 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.8273, allocations: 1.688 kB / 0.9513 GB, free: 7.414 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.0003995/0.8277, allocations: 0.5073 MB / 0.9518 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.8277, allocations: 9.719 kB / 0.9518 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.8278, allocations: 17.72 kB / 0.9518 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.592e-05/0.8279, allocations: 179 kB / 0.952 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.8279, allocations: 2.969 kB / 0.952 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.828, allocations: 2.875 kB / 0.952 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.8282, allocations: 246.2 kB / 0.9522 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.8282, allocations: 192 / 0.9522 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.8282, allocations: 5.438 kB / 0.9522 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.8282, allocations: 1.469 kB / 0.9522 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.8284, allocations: 147.8 kB / 0.9524 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000123/0.8285, allocations: 193.1 kB / 0.9525 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.8288, allocations: 0.5389 MB / 0.9531 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.8291, allocations: 0.5191 MB / 0.9536 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.8291, allocations: 0 / 0.9536 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003602/0.8295, allocations: 399.6 kB / 0.954 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=39): time 1.142e-06/0.8295, allocations: 3.938 kB / 0.954 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=39): time 0.0007067/0.8302, allocations: 0.6838 MB / 0.9546 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.8303, allocations: 108.5 kB / 0.9547 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.041e-05/0.8303, allocations: 105.5 kB / 0.9548 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.8303, allocations: 26.89 kB / 0.9549 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.71e-05/0.8304, allocations: 81.98 kB / 0.9549 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.091e-05/0.8304, allocations: 78.31 kB / 0.955 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.8305, allocations: 38.55 kB / 0.955 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.8305, allocations: 323.5 kB / 0.9554 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-05/0.8306, allocations: 84.69 kB / 0.9554 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.395e-05/0.8307, allocations: 85.92 kB / 0.9555 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.831, allocations: 352.8 kB / 0.9559 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.831, allocations: 4 kB / 0.9559 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003073/0.8313, allocations: 336.2 kB / 0.9562 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.066e-05/0.8314, allocations: 82.28 kB / 0.9563 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.8314, allocations: 0 / 0.9563 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.8314, allocations: 3.984 kB / 0.9563 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.954e-05/0.8315, allocations: 1.781 kB / 0.9563 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.8315, allocations: 3.938 kB / 0.9563 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.241e-05/0.8316, allocations: 17.94 kB / 0.9563 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.8316, allocations: 9.938 kB / 0.9563 GB, free: 3.699 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.0001883/0.8318, allocations: 265.7 kB / 0.9565 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.8319, allocations: 25.5 kB / 0.9566 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.658e-06/0.8319, allocations: 9.219 kB / 0.9566 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.8319, allocations: 1.375 kB / 0.9566 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.8319, allocations: 0 / 0.9566 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.8319, allocations: 3.984 kB / 0.9566 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.832, allocations: 245 kB / 0.9568 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.832, allocations: 0 / 0.9568 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.153e-06/0.832, allocations: 1.375 kB / 0.9568 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.832, allocations: 7.938 kB / 0.9568 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.8321, allocations: 8.25 kB / 0.9568 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.8321, allocations: 5.312 kB / 0.9568 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.8321, allocations: 0 / 0.9568 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.8332, allocations: 1.28 MB / 0.9581 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.8332, allocations: 101.7 kB / 0.9582 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.8334, allocations: 79.31 kB / 0.9583 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.8334, allocations: 12 kB / 0.9583 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.8335, allocations: 10.69 kB / 0.9583 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.8335, allocations: 13.27 kB / 0.9583 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.077e-05/0.8335, allocations: 80.88 kB / 0.9584 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8335, allocations: 1.031 kB / 0.9584 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003048/0.8338, allocations: 66.97 kB / 0.9584 GB, free: 2.367 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.0003933/0.8342, allocations: 250.1 kB / 0.9587 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00137/0.8356, allocations: 1.967 MB / 0.9606 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8356, allocations: 0 / 0.9606 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.837, allocations: 2.015 MB / 0.9626 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.8373, allocations: 19.17 kB / 0.9626 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006618/0.838, allocations: 357.7 kB / 0.9629 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.8383, allocations: 0.7162 MB / 0.9636 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.19e-05/0.8384, allocations: 9.062 kB / 0.9636 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.208e-05/0.8384, allocations: 7.438 kB / 0.9636 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.8384, allocations: 4 kB / 0.9636 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of Templates: time 0.005544/0.8439, allocations: 2.606 MB / 0.9662 GB, free: 13.41 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