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.001493/0.001493, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00155/0.00155, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.507/1.507, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 2.76/2.76, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] 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.483e-06/1.483e-06, allocations: 0 / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.895e-05/3.044e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.002697/0.002728, allocations: 1.377 MB / 0.7877 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008776/0.003605, allocations: 359.5 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.003631, allocations: 0.5625 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.543e-05/0.003716, allocations: 1.125 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.92e-05/0.003745, allocations: 7.875 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.00424, allocations: 96.22 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.004361, allocations: 55.84 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.253e-05/0.004394, allocations: 0.9375 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.596e-05/0.00446, allocations: 35.95 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.258e-05/0.004522, allocations: 9.141 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.004539, allocations: 4 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.004809, allocations: 123.7 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.498e-05/0.004864, allocations: 32.55 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.004918, allocations: 23.94 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005504/0.005469, allocations: 178.7 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.005472, allocations: 0 / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.81e-07/0.005473, allocations: 0 / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.005477, allocations: 0 / 0.7886 GB, free: 10.57 MB / 0.7448 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.000599/0.006076, allocations: 435.2 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.006117, allocations: 12.03 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002506/0.006367, allocations: 20.84 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.006534, allocations: 125.7 kB / 0.7891 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.006552, allocations: 384 / 0.7891 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.00657, allocations: 5.375 kB / 0.7891 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/0.007038, allocations: 333.7 kB / 0.7895 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.007046, allocations: 0.7812 kB / 0.7895 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.007062, allocations: 4.375 kB / 0.7895 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.007066, allocations: 1.688 kB / 0.7895 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.007361, allocations: 245.5 kB / 0.7897 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.007553, allocations: 121.2 kB / 0.7898 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.007881, allocations: 253.7 kB / 0.7901 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/0.008173, allocations: 246.5 kB / 0.7903 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.008182, allocations: 0 / 0.7903 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006193/0.008801, allocations: 477.3 kB / 0.7907 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=39): time 9.42e-07/0.008802, allocations: 1.469 kB / 0.7907 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39): time 0.001218/0.01002, allocations: 0.884 MB / 0.7916 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.01013, allocations: 113 kB / 0.7917 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.01023, allocations: 98.3 kB / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.01026, allocations: 25.7 kB / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.454e-05/0.01034, allocations: 86.88 kB / 0.7919 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.906e-05/0.01042, allocations: 75.44 kB / 0.792 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.027e-05/0.01048, allocations: 33.7 kB / 0.792 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.01068, allocations: 338.8 kB / 0.7923 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.01089, allocations: 173.6 kB / 0.7925 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.01109, allocations: 175.2 kB / 0.7927 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004985/0.01159, allocations: 412.2 kB / 0.7931 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.01159, allocations: 0.7188 kB / 0.7931 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005721/0.01216, allocations: 458.3 kB / 0.7935 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.01227, allocations: 73.66 kB / 0.7936 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01228, allocations: 1.531 kB / 0.7936 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.01229, allocations: 3.984 kB / 0.7936 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.136e-05/0.01234, allocations: 8 kB / 0.7936 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.01234, allocations: 3.938 kB / 0.7936 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.996e-05/0.01243, allocations: 24.45 kB / 0.7936 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.01246, allocations: 8.938 kB / 0.7936 GB, free: 5.109 MB / 0.7448 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.0002812/0.01274, allocations: 246.3 kB / 0.7939 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-05/0.01281, allocations: 35.91 kB / 0.7939 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.352e-05/0.01283, allocations: 10.14 kB / 0.7939 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.01283, allocations: 0 / 0.7939 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01283, allocations: 0 / 0.7939 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01284, allocations: 4.438 kB / 0.7939 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.01302, allocations: 158 kB / 0.7941 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.01302, allocations: 4 kB / 0.7941 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-07/0.01302, allocations: 6.031 kB / 0.7941 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.01302, allocations: 0 / 0.7941 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.01305, allocations: 12 kB / 0.7941 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.01305, allocations: 3.984 kB / 0.7941 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01305, allocations: 0 / 0.7941 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.0142, allocations: 0.8127 MB / 0.7949 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.425e-05/0.01422, allocations: 20.36 kB / 0.7949 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.01434, allocations: 78.5 kB / 0.795 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.01442, allocations: 8 kB / 0.795 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.01446, allocations: 4 kB / 0.795 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.01449, allocations: 19.98 kB / 0.795 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.643e-05/0.01455, allocations: 79.22 kB / 0.7951 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01455, allocations: 0 / 0.7951 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003263/0.01487, allocations: 71.92 kB / 0.7951 GB, free: 3.488 MB / 0.7448 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.0008073/0.01568, allocations: 258.6 kB / 0.7954 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009717/0.01665, allocations: 0.7171 MB / 0.7961 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01665, allocations: 3.938 kB / 0.7961 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005272/0.01718, allocations: 424.9 kB / 0.7965 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.01742, allocations: 29.14 kB / 0.7965 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007496/0.01817, allocations: 432.5 kB / 0.7969 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.01829, allocations: 102.4 kB / 0.797 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.473e-05/0.0183, allocations: 7.984 kB / 0.7971 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.01832, allocations: 9.625 kB / 0.7971 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of SimCode: time 3.6e-07/0.01832, allocations: 0 / 0.7971 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of Templates: time 0.00669/0.02501, allocations: 2.776 MB / 0.7998 GB, free: 14.73 MB / 0.7605 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.820805788040161]