Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 116.5 kB / 17.08 MB, free: 5.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 194.2 kB / 20.03 MB, free: 3.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.68/2.68, allocations: 437 MB / 0.7177 GB, free: 4.449 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|occ.occ",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occ.occ",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 67.89 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3139, allocations: 151.6 MB / 1.176 GB, free: 5.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002612/0.3166, allocations: 1.33 MB / 1.177 GB, free: 4.52 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008219/0.3174, allocations: 355.3 kB / 1.177 GB, free: 4.172 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.3175, allocations: 0 / 1.177 GB, free: 4.172 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.058e-05/0.3176, allocations: 3.938 kB / 1.177 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.577e-05/0.3176, allocations: 3.938 kB / 1.177 GB, free: 4.164 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004779/0.3181, allocations: 87.77 kB / 1.178 GB, free: 4.078 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.3182, allocations: 63.84 kB / 1.178 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/0.3183, allocations: 8 kB / 1.178 GB, free: 4.008 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4e-05/0.3183, allocations: 23.91 kB / 1.178 GB, free: 3.984 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/0.3184, allocations: 11.98 kB / 1.178 GB, free: 3.973 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.3184, allocations: 8 kB / 1.178 GB, free: 3.965 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.3186, allocations: 83.91 kB / 1.178 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.652e-05/0.3187, allocations: 31.86 kB / 1.178 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.3187, allocations: 39.75 kB / 1.178 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.319, allocations: 175.2 kB / 1.178 GB, free: 3.641 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.319, allocations: 4 kB / 1.178 GB, free: 3.637 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.674e-06/0.319, allocations: 0 / 1.178 GB, free: 3.637 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.319, allocations: 0 / 1.178 GB, free: 3.637 MB / 0.92 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.0006221/0.3196, allocations: 0.516 MB / 1.178 GB, free: 3.062 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3197, allocations: 12.03 kB / 1.178 GB, free: 3.051 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.3198, allocations: 16.84 kB / 1.178 GB, free: 3.035 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.32, allocations: 176.2 kB / 1.179 GB, free: 2.824 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.32, allocations: 384 / 1.179 GB, free: 2.824 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.32, allocations: 4.375 kB / 1.179 GB, free: 2.82 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.3204, allocations: 238.2 kB / 1.179 GB, free: 2.582 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.3204, allocations: 192 / 1.179 GB, free: 2.582 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3204, allocations: 7.938 kB / 1.179 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.3204, allocations: 0 / 1.179 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.3206, allocations: 147.9 kB / 1.179 GB, free: 2.43 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002164/0.3208, allocations: 193.5 kB / 1.179 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/0.3213, allocations: 0.5337 MB / 1.18 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004476/0.3218, allocations: 0.5204 MB / 1.18 GB, free: 1.125 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-06/0.3218, allocations: 0 / 1.18 GB, free: 1.125 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004639/0.3222, allocations: 403.6 kB / 1.181 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of pre-optimization done (n=39): time 4.017e-06/0.3223, allocations: 4 kB / 1.181 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of matching and sorting (n=39): time 0.0009707/0.3232, allocations: 0.6825 MB / 1.181 GB, free: 4 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.16e-05/0.3233, allocations: 105.1 kB / 1.181 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.563e-05/0.3234, allocations: 105.8 kB / 1.182 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.3235, allocations: 29.7 kB / 1.182 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.3235, allocations: 80.8 kB / 1.182 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.803e-05/0.3236, allocations: 83.31 kB / 1.182 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.153e-05/0.3237, allocations: 33.7 kB / 1.182 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3239, allocations: 326.9 kB / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.964e-05/0.324, allocations: 83.97 kB / 1.182 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.896e-05/0.3241, allocations: 87.91 kB / 1.182 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.3244, allocations: 348.4 kB / 1.183 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3245, allocations: 0 / 1.183 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003971/0.3249, allocations: 340 kB / 1.183 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.73e-05/0.325, allocations: 89.58 kB / 1.183 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.325, allocations: 0 / 1.183 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.325, allocations: 0 / 1.183 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.789e-05/0.325, allocations: 0 / 1.183 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3251, allocations: 4.062 kB / 1.183 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.3252, allocations: 19.89 kB / 1.183 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.3252, allocations: 4 kB / 1.183 GB, free: 14.21 MB / 0.9356 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.0002715/0.3255, allocations: 265.7 kB / 1.183 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.3255, allocations: 31.97 kB / 1.183 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.381e-05/0.3255, allocations: 9.203 kB / 1.183 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.3256, allocations: 7.984 kB / 1.183 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3256, allocations: 3.938 kB / 1.183 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3256, allocations: 0 / 1.183 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.3258, allocations: 245.4 kB / 1.184 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.3258, allocations: 7.938 kB / 1.184 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.3258, allocations: 0 / 1.184 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.283e-06/0.3258, allocations: 3.938 kB / 1.184 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.3259, allocations: 15.98 kB / 1.184 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3259, allocations: 4 kB / 1.184 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3259, allocations: 0 / 1.184 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.3273, allocations: 1.275 MB / 1.185 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.3273, allocations: 92.95 kB / 1.185 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.3274, allocations: 87.91 kB / 1.185 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.521e-05/0.3275, allocations: 8 kB / 1.185 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.3276, allocations: 4 kB / 1.185 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.3276, allocations: 15.98 kB / 1.185 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.179e-05/0.3276, allocations: 75.28 kB / 1.185 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.3277, allocations: 0 / 1.185 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002948/0.328, allocations: 75.92 kB / 1.185 GB, free: 11.89 MB / 0.9356 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.0004754/0.3284, allocations: 246.2 kB / 1.185 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001821/0.3303, allocations: 1.971 MB / 1.187 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3303, allocations: 0 / 1.187 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001981/0.3323, allocations: 2.015 MB / 1.189 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.3326, allocations: 16 kB / 1.189 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006997/0.3333, allocations: 369 kB / 1.19 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.3337, allocations: 0.7166 MB / 1.19 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.3337, allocations: 7.438 kB / 1.19 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of SimCode: time 1.382e-06/0.3338, allocations: 0 / 1.19 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of Templates: time 0.005385/0.3391, allocations: 2.436 MB / 1.193 GB, free: 4.051 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.773119535995647]