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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008691/0.0008691, allocations: 91.56 kB / 20.46 MB, free: 4.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 161 kB / 23.82 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.02/1.02, allocations: 177.1 MB / 204.2 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.863/1.863, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.787 GB, free: 11.43 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.645e-05, allocations: 6.266 kB / 0.787 GB, free: 11.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002038/0.002054, allocations: 1.392 MB / 0.7884 GB, free: 10.04 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006686/0.002723, allocations: 368.7 kB / 0.7888 GB, free: 9.684 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.002754, allocations: 3.938 kB / 0.7888 GB, free: 9.68 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.929e-05/0.002843, allocations: 0 / 0.7888 GB, free: 9.68 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.885e-05/0.002872, allocations: 4.844 kB / 0.7888 GB, free: 9.676 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.003312, allocations: 104.1 kB / 0.7889 GB, free: 9.574 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.003414, allocations: 55.84 kB / 0.7889 GB, free: 9.52 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.189e-05/0.003446, allocations: 4.688 kB / 0.7889 GB, free: 9.516 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.941e-05/0.003495, allocations: 27.95 kB / 0.789 GB, free: 9.488 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.573e-05/0.003541, allocations: 16.89 kB / 0.789 GB, free: 9.473 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.003554, allocations: 4 kB / 0.789 GB, free: 9.469 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.003767, allocations: 116.3 kB / 0.7891 GB, free: 9.355 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.177e-05/0.003809, allocations: 31.86 kB / 0.7891 GB, free: 9.324 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.00385, allocations: 24.66 kB / 0.7891 GB, free: 9.301 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.004071, allocations: 159.5 kB / 0.7893 GB, free: 9.145 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004073, allocations: 1.656 kB / 0.7893 GB, free: 9.145 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.11e-07/0.004074, allocations: 0 / 0.7893 GB, free: 9.145 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.004078, allocations: 0 / 0.7893 GB, free: 9.145 MB / 0.698 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.0004302/0.004508, allocations: 0.5051 MB / 0.7898 GB, free: 8.594 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.004544, allocations: 9.375 kB / 0.7898 GB, free: 8.586 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.004758, allocations: 28.83 kB / 0.7898 GB, free: 8.559 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.109e-05/0.004849, allocations: 116.5 kB / 0.7899 GB, free: 8.418 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.004864, allocations: 5.969 kB / 0.7899 GB, free: 8.414 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.004879, allocations: 4.375 kB / 0.7899 GB, free: 8.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.005096, allocations: 210.6 kB / 0.7901 GB, free: 8.188 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.005106, allocations: 192 / 0.7901 GB, free: 8.188 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.005117, allocations: 4.375 kB / 0.7901 GB, free: 8.184 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.005125, allocations: 3.812 kB / 0.7901 GB, free: 8.184 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.005239, allocations: 145.5 kB / 0.7903 GB, free: 8.035 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/0.005364, allocations: 140.2 kB / 0.7904 GB, free: 7.863 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.005501, allocations: 160.7 kB / 0.7906 GB, free: 7.688 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.00562, allocations: 153.4 kB / 0.7907 GB, free: 7.527 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.198e-06/0.005624, allocations: 3.938 kB / 0.7907 GB, free: 7.523 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002757/0.0059, allocations: 342 kB / 0.7911 GB, free: 7.156 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 9.41e-07/0.0059, allocations: 0 / 0.7911 GB, free: 7.156 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.0005983/0.006499, allocations: 0.623 MB / 0.7917 GB, free: 6.512 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.006552, allocations: 109.7 kB / 0.7918 GB, free: 6.387 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.043e-05/0.006632, allocations: 165.9 kB / 0.7919 GB, free: 6.207 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.006644, allocations: 26.23 kB / 0.7919 GB, free: 6.176 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.006681, allocations: 128.3 kB / 0.7921 GB, free: 6.047 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.215e-05/0.006743, allocations: 79.38 kB / 0.7921 GB, free: 5.969 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/0.0068, allocations: 44.27 kB / 0.7922 GB, free: 5.918 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.006937, allocations: 0.4962 MB / 0.7927 GB, free: 5.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-05/0.007023, allocations: 109.7 kB / 0.7928 GB, free: 5.297 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.87e-05/0.007102, allocations: 103.2 kB / 0.7929 GB, free: 5.191 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.007295, allocations: 256.6 kB / 0.7931 GB, free: 4.926 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.007297, allocations: 0 / 0.7931 GB, free: 4.926 MB / 0.698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000317/0.007614, allocations: 365.9 kB / 0.7935 GB, free: 4.547 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.182e-05/0.007676, allocations: 77.64 kB / 0.7935 GB, free: 4.465 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.007681, allocations: 5.281 kB / 0.7935 GB, free: 4.461 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.007696, allocations: 0 / 0.7935 GB, free: 4.461 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.227e-05/0.007738, allocations: 0 / 0.7935 GB, free: 4.461 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.007745, allocations: 4.562 kB / 0.7936 GB, free: 4.457 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.912e-05/0.007814, allocations: 23.83 kB / 0.7936 GB, free: 4.434 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.00783, allocations: 4.938 kB / 0.7936 GB, free: 4.43 MB / 0.698 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.0001671/0.007997, allocations: 272.9 kB / 0.7938 GB, free: 4.152 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.008045, allocations: 39 kB / 0.7939 GB, free: 4.117 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.576e-05/0.008061, allocations: 13.28 kB / 0.7939 GB, free: 4.105 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.008063, allocations: 0 / 0.7939 GB, free: 4.105 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.008066, allocations: 0 / 0.7939 GB, free: 4.105 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.008069, allocations: 3.938 kB / 0.7939 GB, free: 4.102 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.008179, allocations: 168.4 kB / 0.7941 GB, free: 3.902 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.00818, allocations: 0 / 0.7941 GB, free: 3.902 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-06/0.008181, allocations: 8 kB / 0.7941 GB, free: 3.895 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.008183, allocations: 0 / 0.7941 GB, free: 3.895 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.008203, allocations: 17.22 kB / 0.7941 GB, free: 3.879 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-07/0.008203, allocations: 0 / 0.7941 GB, free: 3.879 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.008205, allocations: 3.984 kB / 0.7941 GB, free: 3.875 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/0.008797, allocations: 0.6329 MB / 0.7947 GB, free: 3.207 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.008811, allocations: 15.89 kB / 0.7947 GB, free: 3.191 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.992e-05/0.008891, allocations: 68.52 kB / 0.7948 GB, free: 3.125 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.129e-05/0.008943, allocations: 8.938 kB / 0.7948 GB, free: 3.117 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.008977, allocations: 7.984 kB / 0.7948 GB, free: 3.109 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.008995, allocations: 12 kB / 0.7948 GB, free: 3.098 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.872e-05/0.009034, allocations: 132.1 kB / 0.7949 GB, free: 2.969 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.009034, allocations: 0 / 0.7949 GB, free: 2.969 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002669/0.009301, allocations: 73 kB / 0.795 GB, free: 2.898 MB / 0.698 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.0003714/0.009673, allocations: 251.5 kB / 0.7952 GB, free: 2.672 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004545/0.01013, allocations: 498.2 kB / 0.7957 GB, free: 2.156 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01013, allocations: 0 / 0.7957 GB, free: 2.156 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.01038, allocations: 324.7 kB / 0.796 GB, free: 1.816 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.01058, allocations: 32.8 kB / 0.7961 GB, free: 1.785 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005987/0.01118, allocations: 319.5 kB / 0.7964 GB, free: 1.434 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.6e-05/0.01123, allocations: 79.77 kB / 0.7964 GB, free: 1.336 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.164e-05/0.01124, allocations: 0 / 0.7964 GB, free: 1.336 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.413e-05/0.01125, allocations: 9.562 kB / 0.7964 GB, free: 1.328 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/0.01125, allocations: 0 / 0.7964 GB, free: 1.328 MB / 0.698 GB Notification: Performance of Templates: time 0.004827/0.01608, allocations: 2.782 MB / 0.7992 GB, free: 14.6 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.306225338019431]