Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00152/0.00152, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001805/0.001805, allocations: 189.4 kB / 16.25 MB, free: 6.637 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.412/1.412, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.654/2.654, allocations: 437 MB / 0.71 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.91 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7377/0.7392, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002308/0.7416, allocations: 1.394 MB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007301/0.7423, allocations: 347 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.872e-05/0.7423, allocations: 0 / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.31e-05/0.7424, allocations: 3.938 kB / 1.018 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.722e-05/0.7425, allocations: 3.984 kB / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.7429, allocations: 79.86 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.743, allocations: 59.84 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.7431, allocations: 4 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.268e-05/0.7431, allocations: 23.84 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.576e-05/0.7432, allocations: 19.92 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.7432, allocations: 4 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.7434, allocations: 79.92 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.7434, allocations: 27.91 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.32e-05/0.7435, allocations: 47.75 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.7437, allocations: 159.5 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7437, allocations: 3.938 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.704e-06/0.7437, allocations: 0 / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.7437, allocations: 4 kB / 1.019 GB, free: 488 kB / 0.7637 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.0005025/0.7443, allocations: 0.5117 MB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.7443, allocations: 8.031 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.953e-05/0.7444, allocations: 16.75 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.7445, allocations: 176.2 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.7445, allocations: 8.375 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.7446, allocations: 4.375 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.7448, allocations: 242.2 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-06/0.7448, allocations: 192 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.7449, allocations: 3.938 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.7449, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.745, allocations: 144 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.7452, allocations: 201.4 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.7456, allocations: 0.5379 MB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003708/0.746, allocations: 0.5246 MB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.103e-06/0.746, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004111/0.7464, allocations: 391.7 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=39): time 1.413e-06/0.7465, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39): time 0.0007663/0.7472, allocations: 0.69 MB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.7473, allocations: 105.1 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.053e-05/0.7474, allocations: 109.8 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.7474, allocations: 25.7 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.7475, allocations: 80.8 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.451e-05/0.7475, allocations: 75 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.7476, allocations: 33.7 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.7477, allocations: 326.8 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-05/0.7478, allocations: 83.97 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.013e-05/0.7479, allocations: 83.92 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.7482, allocations: 352.1 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7482, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003374/0.7485, allocations: 340.3 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.31e-05/0.7487, allocations: 85.58 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.7487, allocations: 3.938 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.7487, allocations: 3.938 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.704e-05/0.7487, allocations: 4 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.7488, allocations: 3.984 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.7489, allocations: 15.84 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.7489, allocations: 12.03 kB / 1.024 GB, free: 11.06 MB / 0.7794 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.0002453/0.7491, allocations: 265.7 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.7492, allocations: 23.75 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.453e-05/0.7492, allocations: 5.219 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.7492, allocations: 192 / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.7492, allocations: 0 / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.7492, allocations: 7.984 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.7494, allocations: 245.4 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.7494, allocations: 0 / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.021e-06/0.7495, allocations: 4 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.7495, allocations: 11.92 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.7495, allocations: 8 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7495, allocations: 0 / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.7495, allocations: 0 / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.7507, allocations: 1.279 MB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.144e-05/0.7508, allocations: 96.8 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.7509, allocations: 79.89 kB / 1.026 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.079e-05/0.751, allocations: 11.98 kB / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.7511, allocations: 12.03 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.7511, allocations: 15.98 kB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.708e-05/0.7511, allocations: 83.28 kB / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7511, allocations: 0 / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002874/0.7514, allocations: 68 kB / 1.026 GB, free: 8.75 MB / 0.7794 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.0004231/0.7519, allocations: 253.5 kB / 1.026 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001652/0.7535, allocations: 1.964 MB / 1.028 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7535, allocations: 0 / 1.028 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.755, allocations: 2.014 MB / 1.03 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.7552, allocations: 25.67 kB / 1.03 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006245/0.7559, allocations: 351.6 kB / 1.031 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.7562, allocations: 0.7127 MB / 1.031 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.524e-05/0.7562, allocations: 0 / 1.031 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.212e-05/0.7562, allocations: 7.438 kB / 1.031 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7562, allocations: 0 / 1.031 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of Templates: time 0.005685/0.7619, allocations: 2.627 MB / 1.034 GB, free: 0.7344 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches