Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001546/0.001546, allocations: 104.7 kB / 16.27 MB, free: 6.414 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.001553/0.001553, allocations: 189.6 kB / 17.2 MB, free: 5.953 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.44/1.44, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.755/2.755, allocations: 469.8 MB / 0.743 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 72.39 kB / 0.9092 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3153, allocations: 159.1 MB / 1.065 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.00276/0.3181, allocations: 1.333 MB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007844/0.3189, allocations: 354.9 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.19e-05/0.3189, allocations: 0 / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.465e-05/0.319, allocations: 4 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.783e-05/0.3191, allocations: 7.938 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004257/0.3195, allocations: 91.72 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.3196, allocations: 55.89 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.3197, allocations: 4 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.589e-05/0.3197, allocations: 19.92 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.3198, allocations: 23.92 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.3198, allocations: 4 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.32, allocations: 87.84 kB / 1.067 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.32, allocations: 19.92 kB / 1.067 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.113e-05/0.3201, allocations: 51.73 kB / 1.067 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.3203, allocations: 155.5 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3203, allocations: 0 / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3203, allocations: 0 / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.3203, allocations: 4 kB / 1.067 GB, free: 12.57 MB / 0.8419 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.0005787/0.3209, allocations: 0.5164 MB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.321, allocations: 8.031 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.9e-05/0.3211, allocations: 12.84 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.3212, allocations: 176.2 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.3212, allocations: 4.375 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.3213, allocations: 4.375 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.3216, allocations: 242.2 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3216, allocations: 4.125 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.3216, allocations: 3.938 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3216, allocations: 4 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.3218, allocations: 144 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.322, allocations: 193.5 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.3225, allocations: 0.5301 MB / 1.069 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004192/0.3229, allocations: 0.5245 MB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-06/0.3229, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004515/0.3234, allocations: 407.6 kB / 1.069 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=39): time 3.236e-06/0.3234, allocations: 3.984 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39): time 0.0008283/0.3242, allocations: 0.6889 MB / 1.07 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/0.3243, allocations: 109.1 kB / 1.07 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.825e-05/0.3244, allocations: 97.84 kB / 1.07 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3244, allocations: 29.7 kB / 1.07 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.3245, allocations: 80.8 kB / 1.07 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.3245, allocations: 71.02 kB / 1.07 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.3246, allocations: 33.73 kB / 1.071 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3248, allocations: 330.8 kB / 1.071 GB, free: 8.141 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.684e-05/0.3249, allocations: 83.97 kB / 1.071 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.933e-05/0.325, allocations: 83.92 kB / 1.071 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.3253, allocations: 353.3 kB / 1.071 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3253, allocations: 3.938 kB / 1.071 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003764/0.3257, allocations: 340.1 kB / 1.072 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.547e-05/0.3258, allocations: 77.59 kB / 1.072 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3258, allocations: 3.984 kB / 1.072 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3258, allocations: 4.062 kB / 1.072 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.501e-05/0.3259, allocations: 4 kB / 1.072 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.3259, allocations: 0 / 1.072 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.326, allocations: 23.69 kB / 1.072 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.3261, allocations: 12 kB / 1.072 GB, free: 7.141 MB / 0.8419 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.0002668/0.3263, allocations: 265.7 kB / 1.072 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.3264, allocations: 23.78 kB / 1.072 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.387e-05/0.3264, allocations: 5.219 kB / 1.072 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3264, allocations: 0 / 1.072 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3264, allocations: 0 / 1.072 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3264, allocations: 11.98 kB / 1.072 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.3266, allocations: 245.3 kB / 1.072 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3267, allocations: 0 / 1.072 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3267, allocations: 4 kB / 1.072 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3267, allocations: 3.938 kB / 1.072 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.3267, allocations: 12 kB / 1.072 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3267, allocations: 0 / 1.072 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3267, allocations: 0 / 1.072 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.328, allocations: 1.283 MB / 1.074 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-05/0.3281, allocations: 92.86 kB / 1.074 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.3282, allocations: 79.88 kB / 1.074 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.3283, allocations: 8 kB / 1.074 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.3284, allocations: 8 kB / 1.074 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.3284, allocations: 19.92 kB / 1.074 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.297e-05/0.3284, allocations: 79.28 kB / 1.074 GB, free: 4.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3284, allocations: 3.938 kB / 1.074 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002954/0.3287, allocations: 67.98 kB / 1.074 GB, free: 4.84 MB / 0.8419 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.0004949/0.3292, allocations: 255.6 kB / 1.074 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.3311, allocations: 1.956 MB / 1.076 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3311, allocations: 0 / 1.076 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001644/0.3327, allocations: 2.015 MB / 1.078 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.333, allocations: 25.72 kB / 1.078 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005854/0.3336, allocations: 361.3 kB / 1.078 GB, free: 196 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4468/0.7803, allocations: 0.7144 MB / 1.079 GB, free: 22.81 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.7804, allocations: 8.062 kB / 1.079 GB, free: 22.8 MB / 0.8419 GB Notification: Performance of SimCode: time 8.41e-07/0.7804, allocations: 3.828 kB / 1.079 GB, free: 22.8 MB / 0.8419 GB Notification: Performance of Templates: time 0.005326/0.7857, allocations: 2.437 MB / 1.082 GB, free: 22.66 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches