Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001505/0.001505, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001851/0.001851, allocations: 194.8 kB / 16.25 MB, free: 6.641 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.515/1.515, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.81/2.81, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 66.38 kB / 0.8986 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3146, allocations: 157.4 MB / 1.052 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002789/0.3175, allocations: 1.396 MB / 1.054 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007999/0.3183, allocations: 355 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.394e-05/0.3183, allocations: 0 / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.628e-05/0.3185, allocations: 3.938 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.89e-05/0.3185, allocations: 8 kB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004839/0.319, allocations: 75.84 kB / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.3191, allocations: 55.84 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.3192, allocations: 4 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.848e-05/0.3192, allocations: 27.92 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.505e-05/0.3193, allocations: 23.91 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.3193, allocations: 4 kB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.3195, allocations: 79.91 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.3196, allocations: 23.92 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.3196, allocations: 43.75 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.3199, allocations: 163.4 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3199, allocations: 0 / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3199, allocations: 0 / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.3199, allocations: 0 / 1.054 GB, free: 6.496 MB / 0.8106 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.0005581/0.3205, allocations: 0.5319 MB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3206, allocations: 8.625 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.3207, allocations: 12.84 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.3208, allocations: 176.2 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.3209, allocations: 384 / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.3209, allocations: 4.375 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.3212, allocations: 242.2 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.3212, allocations: 192 / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.3212, allocations: 7.938 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3212, allocations: 4 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.3214, allocations: 144 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001962/0.3216, allocations: 197.4 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.322, allocations: 0.534 MB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004003/0.3224, allocations: 0.5207 MB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.3225, allocations: 0 / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004353/0.3229, allocations: 403.7 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=39): time 1.312e-06/0.3229, allocations: 0 / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39): time 0.000805/0.3237, allocations: 0.6889 MB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.3238, allocations: 105.1 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.455e-05/0.3239, allocations: 101.8 kB / 1.058 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.3239, allocations: 29.7 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.078e-05/0.3239, allocations: 80.8 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.146e-05/0.324, allocations: 71 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.3241, allocations: 37.73 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3242, allocations: 326.8 kB / 1.059 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.78e-05/0.3243, allocations: 83.97 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.139e-05/0.3243, allocations: 83.97 kB / 1.059 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.3247, allocations: 353.4 kB / 1.059 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3247, allocations: 0 / 1.059 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003568/0.325, allocations: 336 kB / 1.059 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.833e-05/0.3251, allocations: 89.52 kB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3251, allocations: 4 kB / 1.059 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3252, allocations: 4.062 kB / 1.059 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.697e-05/0.3252, allocations: 0 / 1.059 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3252, allocations: 0 / 1.059 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.3253, allocations: 23.78 kB / 1.059 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.3254, allocations: 4 kB / 1.059 GB, free: 1.07 MB / 0.8106 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.0002493/0.3256, allocations: 265.7 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.3257, allocations: 27.75 kB / 1.06 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.588e-05/0.3257, allocations: 9.203 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.3257, allocations: 192 / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.3257, allocations: 0 / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3257, allocations: 11.92 kB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.3259, allocations: 249.3 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3259, allocations: 0 / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.3259, allocations: 0 / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3259, allocations: 3.938 kB / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.326, allocations: 15.98 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.326, allocations: 0 / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.326, allocations: 4 kB / 1.06 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.3273, allocations: 1.279 MB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.3273, allocations: 92.86 kB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.3275, allocations: 79.88 kB / 1.061 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.3275, allocations: 12 kB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.3276, allocations: 8 kB / 1.061 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.3276, allocations: 15.98 kB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.401e-05/0.3277, allocations: 75.28 kB / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3277, allocations: 0 / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003026/0.328, allocations: 75.98 kB / 1.062 GB, free: 14.76 MB / 0.8262 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.0004718/0.3285, allocations: 247.8 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001974/0.3304, allocations: 1.967 MB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3305, allocations: 3.938 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002026/0.3325, allocations: 2.015 MB / 1.066 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.3328, allocations: 19.94 kB / 1.066 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007205/0.3335, allocations: 347.6 kB / 1.066 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.334, allocations: 0.7244 MB / 1.067 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.151e-05/0.334, allocations: 0 / 1.067 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/0.334, allocations: 7.438 kB / 1.067 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of SimCode: time 2.164e-06/0.334, allocations: 0 / 1.067 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of Templates: time 0.006586/0.3406, allocations: 2.616 MB / 1.069 GB, free: 6.75 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches