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.001692/0.001692, allocations: 111.2 kB / 15.99 MB, free: 5.91 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.001863/0.001864, allocations: 193.3 kB / 16.91 MB, free: 5.754 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.445/1.445, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.718/2.718, allocations: 469.8 MB / 0.7427 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 55.66 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3137, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002505/0.3162, allocations: 1.393 MB / 1.065 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000727/0.317, allocations: 350.9 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.317, allocations: 0 / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.712e-05/0.3171, allocations: 0 / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.326e-05/0.3172, allocations: 11.91 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.3176, allocations: 75.86 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.3177, allocations: 55.92 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.439e-05/0.3177, allocations: 3.984 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.988e-05/0.3178, allocations: 19.92 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.3178, allocations: 23.92 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.3178, allocations: 4 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.318, allocations: 83.84 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.318, allocations: 19.92 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.167e-05/0.3181, allocations: 63.66 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.3183, allocations: 107.8 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3183, allocations: 0 / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3183, allocations: 0 / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.3183, allocations: 0 / 1.066 GB, free: 12.89 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.0005567/0.3189, allocations: 0.5203 MB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.3189, allocations: 8.031 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.73e-05/0.319, allocations: 12.84 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.3192, allocations: 180.2 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.3192, allocations: 4.375 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.3192, allocations: 4.375 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.3195, allocations: 242.1 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.3195, allocations: 192 / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.3195, allocations: 7.938 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3196, allocations: 0 / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.3197, allocations: 147.9 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.3199, allocations: 193.5 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004686/0.3204, allocations: 0.534 MB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004205/0.3208, allocations: 0.5207 MB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.498e-06/0.3208, allocations: 0 / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004325/0.3213, allocations: 403.6 kB / 1.069 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=39): time 1.212e-06/0.3213, allocations: 0 / 1.069 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39): time 0.0008148/0.3221, allocations: 0.685 MB / 1.07 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.3222, allocations: 105.1 kB / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.751e-05/0.3223, allocations: 105.9 kB / 1.07 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.3223, allocations: 25.7 kB / 1.07 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.3224, allocations: 84.8 kB / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.265e-05/0.3224, allocations: 71 kB / 1.07 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.3225, allocations: 37.7 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3227, allocations: 326.8 kB / 1.07 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.79e-05/0.3228, allocations: 91.84 kB / 1.07 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.845e-05/0.3229, allocations: 83.97 kB / 1.071 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.3232, allocations: 357.4 kB / 1.071 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3232, allocations: 0 / 1.071 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003717/0.3236, allocations: 332.1 kB / 1.071 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.185e-05/0.3237, allocations: 85.58 kB / 1.071 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3237, allocations: 4 kB / 1.071 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3237, allocations: 0 / 1.071 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.345e-05/0.3238, allocations: 0 / 1.071 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3238, allocations: 0 / 1.071 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.3239, allocations: 27.69 kB / 1.071 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.3239, allocations: 8 kB / 1.071 GB, free: 7.465 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.0002679/0.3242, allocations: 273.6 kB / 1.072 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.3243, allocations: 23.84 kB / 1.072 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.39e-05/0.3243, allocations: 9.203 kB / 1.072 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3243, allocations: 0 / 1.072 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3243, allocations: 0 / 1.072 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.3243, allocations: 0 / 1.072 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.3245, allocations: 249.3 kB / 1.072 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3245, allocations: 0 / 1.072 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-06/0.3245, allocations: 0 / 1.072 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3246, allocations: 7.875 kB / 1.072 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.3246, allocations: 15.98 kB / 1.072 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3246, allocations: 4 kB / 1.072 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.3246, allocations: 4 kB / 1.072 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.3259, allocations: 1.271 MB / 1.073 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.326, allocations: 92.86 kB / 1.073 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.3261, allocations: 79.88 kB / 1.073 GB, free: 5.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.887e-05/0.3262, allocations: 12 kB / 1.073 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.3262, allocations: 7.938 kB / 1.073 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.3263, allocations: 20.02 kB / 1.073 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.113e-05/0.3263, allocations: 75.28 kB / 1.073 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3263, allocations: 0 / 1.073 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003153/0.3267, allocations: 75.98 kB / 1.073 GB, free: 5.156 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.0004855/0.3271, allocations: 253.3 kB / 1.074 GB, free: 4.91 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001784/0.3289, allocations: 1.964 MB / 1.076 GB, free: 2.934 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.329, allocations: 4.062 kB / 1.076 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001693/0.3307, allocations: 2.015 MB / 1.078 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.3309, allocations: 20.88 kB / 1.078 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005893/0.3315, allocations: 385.2 kB / 1.078 GB, free: 488 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4502/0.7817, allocations: 0.7116 MB / 1.079 GB, free: 23.56 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.7817, allocations: 8.469 kB / 1.079 GB, free: 23.55 MB / 0.8419 GB Notification: Performance of SimCode: time 9.62e-07/0.7817, allocations: 0.6562 kB / 1.079 GB, free: 23.55 MB / 0.8419 GB Notification: Performance of Templates: time 0.005077/0.7868, allocations: 2.436 MB / 1.081 GB, free: 23.4 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