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.008223/0.008223, allocations: 103.9 kB / 15.73 MB, free: 6.039 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.001971/0.001971, allocations: 193.6 kB / 16.67 MB, free: 5.973 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.866/2.866, allocations: 461.9 MB / 0.7348 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.91 kB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3103, allocations: 157.4 MB / 1.208 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002144/0.3125, allocations: 1.328 MB / 1.209 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0006991/0.3132, allocations: 343 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.152e-05/0.3133, allocations: 4 kB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.185e-05/0.3134, allocations: 11.92 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.282e-05/0.3134, allocations: 3.938 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003959/0.3138, allocations: 83.78 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.3139, allocations: 63.84 kB / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.314, allocations: 7.984 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.126e-05/0.314, allocations: 15.94 kB / 1.21 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.02e-05/0.3141, allocations: 27.89 kB / 1.21 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.3141, allocations: 4 kB / 1.21 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.3143, allocations: 71.94 kB / 1.21 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.3143, allocations: 31.84 kB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.781e-05/0.3144, allocations: 51.73 kB / 1.21 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.3146, allocations: 155.4 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3146, allocations: 0 / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3146, allocations: 0 / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3146, allocations: 8 kB / 1.21 GB, free: 7.523 MB / 0.9669 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.0004531/0.3151, allocations: 0.5084 MB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3151, allocations: 12.61 kB / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.412e-05/0.3152, allocations: 24.75 kB / 1.21 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.906e-05/0.3153, allocations: 168.3 kB / 1.211 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.3153, allocations: 4.375 kB / 1.211 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.3154, allocations: 4.375 kB / 1.211 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002545/0.3156, allocations: 242.2 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.962e-06/0.3156, allocations: 192 / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3157, allocations: 7.938 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.3157, allocations: 0 / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.3158, allocations: 147.9 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.316, allocations: 185.5 kB / 1.211 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.3164, allocations: 0.5376 MB / 1.212 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/0.3167, allocations: 0.5204 MB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.3167, allocations: 0 / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003496/0.3171, allocations: 399.7 kB / 1.213 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=39): time 1.292e-06/0.3171, allocations: 0 / 1.213 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39): time 0.0007118/0.3178, allocations: 0.697 MB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.3179, allocations: 109.1 kB / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.606e-05/0.318, allocations: 93.86 kB / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.318, allocations: 25.7 kB / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/0.318, allocations: 88.78 kB / 1.213 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/0.3181, allocations: 74.91 kB / 1.214 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.3181, allocations: 37.73 kB / 1.214 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3183, allocations: 330.8 kB / 1.214 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.444e-05/0.3183, allocations: 79.97 kB / 1.214 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.496e-05/0.3184, allocations: 79.98 kB / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.3187, allocations: 357.3 kB / 1.214 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3187, allocations: 0 / 1.214 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003326/0.3191, allocations: 332.2 kB / 1.215 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-05/0.3191, allocations: 81.58 kB / 1.215 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3192, allocations: 8 kB / 1.215 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.3192, allocations: 0 / 1.215 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.03e-05/0.3192, allocations: 4 kB / 1.215 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.3192, allocations: 0 / 1.215 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.3194, allocations: 31.61 kB / 1.215 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.3194, allocations: 8 kB / 1.215 GB, free: 2.098 MB / 0.9669 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.0002226/0.3196, allocations: 265.7 kB / 1.215 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.3197, allocations: 23.75 kB / 1.215 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.969e-06/0.3197, allocations: 5.219 kB / 1.215 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3197, allocations: 0 / 1.215 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3197, allocations: 8.188 kB / 1.215 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3197, allocations: 0 / 1.215 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.3199, allocations: 249.3 kB / 1.215 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3199, allocations: 4 kB / 1.215 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.3199, allocations: 0 / 1.215 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3199, allocations: 3.938 kB / 1.215 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.3199, allocations: 15.98 kB / 1.215 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.3199, allocations: 7.938 kB / 1.215 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3199, allocations: 0 / 1.215 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.3211, allocations: 1.283 MB / 1.217 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.3211, allocations: 92.95 kB / 1.217 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.3212, allocations: 71.94 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-05/0.3213, allocations: 8 kB / 1.217 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.3214, allocations: 11.94 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.3214, allocations: 15.98 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.507e-05/0.3214, allocations: 79.28 kB / 1.217 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3214, allocations: 0 / 1.217 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002874/0.3217, allocations: 68 kB / 1.217 GB, free: 15.8 MB / 0.9825 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.0004108/0.3221, allocations: 247.6 kB / 1.217 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001544/0.3237, allocations: 1.967 MB / 1.219 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3237, allocations: 0 / 1.219 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001372/0.3251, allocations: 2.015 MB / 1.221 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.3253, allocations: 25.23 kB / 1.221 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/0.3259, allocations: 339.4 kB / 1.221 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.3261, allocations: 0.7166 MB / 1.222 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.411e-05/0.3261, allocations: 0 / 1.222 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.046e-05/0.3262, allocations: 7.438 kB / 1.222 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.3262, allocations: 0 / 1.222 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of Templates: time 0.005401/0.3316, allocations: 2.637 MB / 1.225 GB, free: 7.785 MB / 0.9825 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