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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.007758/0.007758, allocations: 100.2 kB / 15.87 MB, free: 6.301 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.001781/0.001781, allocations: 198.1 kB / 16.79 MB, free: 6.234 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.354/1.354, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.615/2.615, allocations: 461.9 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 66.72 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2998, allocations: 157.4 MB / 1.053 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002715/0.3026, allocations: 1.381 MB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008409/0.3034, allocations: 370.9 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.3035, allocations: 0 / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.46e-05/0.3036, allocations: 0 / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.157e-05/0.3036, allocations: 15.91 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.304, allocations: 67.88 kB / 1.055 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.305e-05/0.3041, allocations: 43.91 kB / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.598e-05/0.3042, allocations: 3.938 kB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.461e-05/0.3042, allocations: 23.97 kB / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.3043, allocations: 19.92 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.3043, allocations: 0 / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.3044, allocations: 79.84 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.735e-05/0.3045, allocations: 23.92 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.3046, allocations: 43.69 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.3047, allocations: 115.8 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3047, allocations: 0 / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.62e-07/0.3048, allocations: 0 / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3048, allocations: 0 / 1.055 GB, free: 6.145 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.000504/0.3053, allocations: 0.5242 MB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3053, allocations: 8.031 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.3054, allocations: 12.84 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.3056, allocations: 172.3 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.3056, allocations: 384 / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.3056, allocations: 8.375 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002633/0.3059, allocations: 246.1 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3059, allocations: 192 / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.3059, allocations: 7.938 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.3059, allocations: 4 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.3061, allocations: 148 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.3062, allocations: 193.4 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003798/0.3066, allocations: 0.534 MB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/0.307, allocations: 0.5207 MB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-06/0.307, allocations: 0 / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003923/0.3074, allocations: 407.6 kB / 1.058 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=39): time 1.092e-06/0.3074, allocations: 0 / 1.058 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39): time 0.0007112/0.3081, allocations: 0.6889 MB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.3082, allocations: 105.1 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.703e-05/0.3083, allocations: 105.8 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.3083, allocations: 29.7 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.3083, allocations: 80.8 kB / 1.059 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/0.3084, allocations: 75 kB / 1.059 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.3085, allocations: 41.73 kB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3086, allocations: 322.8 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.597e-05/0.3087, allocations: 87.91 kB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.506e-05/0.3088, allocations: 83.98 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.309, allocations: 353.3 kB / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.309, allocations: 0 / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003316/0.3094, allocations: 336.1 kB / 1.06 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.563e-05/0.3095, allocations: 81.59 kB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3095, allocations: 0 / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3095, allocations: 4.062 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.38e-05/0.3096, allocations: 3.984 kB / 1.06 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.3096, allocations: 3.984 kB / 1.06 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.3097, allocations: 23.78 kB / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.3097, allocations: 4 kB / 1.06 GB, free: 0.7109 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.0002354/0.3099, allocations: 269.6 kB / 1.06 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.31, allocations: 27.75 kB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.337e-05/0.31, allocations: 13.16 kB / 1.06 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.31, allocations: 0 / 1.06 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.31, allocations: 0 / 1.06 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.31, allocations: 4 kB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.3102, allocations: 249.3 kB / 1.06 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3102, allocations: 0 / 1.06 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-06/0.3102, allocations: 3.984 kB / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3102, allocations: 3.938 kB / 1.06 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.3103, allocations: 12 kB / 1.06 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3103, allocations: 0 / 1.06 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3103, allocations: 0 / 1.06 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.3114, allocations: 1.283 MB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.3115, allocations: 92.86 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.3116, allocations: 75.89 kB / 1.062 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.868e-05/0.3117, allocations: 11.98 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.3118, allocations: 8 kB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.3118, allocations: 15.92 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.838e-05/0.3118, allocations: 79.28 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3118, allocations: 4 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002926/0.3121, allocations: 68 kB / 1.062 GB, free: 14.4 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.0004214/0.3126, allocations: 256.5 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001477/0.3141, allocations: 1.96 MB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3141, allocations: 0 / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/0.3154, allocations: 2.011 MB / 1.066 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.3156, allocations: 23.98 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005356/0.3162, allocations: 382.9 kB / 1.067 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.3165, allocations: 0.7208 MB / 1.067 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.167e-05/0.3165, allocations: 7.438 kB / 1.067 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3165, allocations: 3.938 kB / 1.067 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of Templates: time 0.004407/0.3209, allocations: 2.427 MB / 1.07 GB, free: 6.543 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/jenkins1/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