Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.001281/0.001281, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001812/0.003093, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001225/0.001225, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00134/0.002564, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.039/1.039, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09902/1.138, allocations: 53.64 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.882/1.882, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4681/2.35, allocations: 123.3 MB / 0.728 GB, free: 5.84 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.7293 GB, free: 4.586 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.01e-05, allocations: 2.969 kB / 0.7293 GB, free: 4.582 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002401/0.002421, allocations: 1.317 MB / 0.7306 GB, free: 3.273 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007089/0.00313, allocations: 428.8 kB / 0.731 GB, free: 2.859 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.003161, allocations: 0 / 0.731 GB, free: 2.859 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.923e-05/0.0032, allocations: 8.938 kB / 0.731 GB, free: 2.852 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.45e-05/0.003224, allocations: 1.203 kB / 0.731 GB, free: 2.852 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.003692, allocations: 106 kB / 0.7311 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.003795, allocations: 28.3 kB / 0.7311 GB, free: 2.727 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.003838, allocations: 4.672 kB / 0.7311 GB, free: 2.723 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.618e-05/0.003904, allocations: 16.86 kB / 0.7312 GB, free: 2.707 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.516e-05/0.003939, allocations: 6.578 kB / 0.7312 GB, free: 2.703 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.003956, allocations: 4 kB / 0.7312 GB, free: 2.699 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003253/0.004281, allocations: 136.2 kB / 0.7313 GB, free: 2.566 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.193e-05/0.004333, allocations: 25.89 kB / 0.7313 GB, free: 2.547 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.756e-05/0.004361, allocations: 9.25 kB / 0.7313 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.0046, allocations: 123.3 kB / 0.7314 GB, free: 2.426 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.676e-05/0.004617, allocations: 1.438 kB / 0.7314 GB, free: 2.426 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.313e-06/0.004619, allocations: 0 / 0.7314 GB, free: 2.426 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.838e-05/0.004637, allocations: 3.938 kB / 0.7314 GB, free: 2.422 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005038/0.005141, allocations: 363.3 kB / 0.7318 GB, free: 2.035 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.005178, allocations: 12.03 kB / 0.7318 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.005308, allocations: 86.72 kB / 0.7319 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.005431, allocations: 121.6 kB / 0.732 GB, free: 1.777 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.005451, allocations: 6.141 kB / 0.732 GB, free: 1.773 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.005461, allocations: 4.375 kB / 0.732 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.005596, allocations: 88.38 kB / 0.7321 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.005605, allocations: 192 / 0.7321 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.005613, allocations: 1.281 kB / 0.7321 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.005619, allocations: 384 / 0.7321 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.454e-05/0.005653, allocations: 32.62 kB / 0.7321 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.974e-05/0.005753, allocations: 76.31 kB / 0.7322 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.968e-05/0.005823, allocations: 43.7 kB / 0.7322 GB, free: 1.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.005857, allocations: 28.86 kB / 0.7323 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.005864, allocations: 0.5 kB / 0.7323 GB, free: 1.469 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.006013, allocations: 105.1 kB / 0.7324 GB, free: 1.355 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 1.443e-06/0.006014, allocations: 0 / 0.7324 GB, free: 1.355 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.000265/0.006279, allocations: 205.2 kB / 0.7326 GB, free: 1.148 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.00635, allocations: 87.31 kB / 0.7327 GB, free: 1.051 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.829e-05/0.006438, allocations: 131.1 kB / 0.7328 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.006483, allocations: 49.69 kB / 0.7328 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.623e-05/0.006519, allocations: 90.5 kB / 0.7329 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.073e-05/0.00661, allocations: 95.25 kB / 0.733 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.00671, allocations: 89.61 kB / 0.7331 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.006821, allocations: 338.7 kB / 0.7334 GB, free: 244 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.026e-05/0.006901, allocations: 52.66 kB / 0.7335 GB, free: 188 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.007005, allocations: 105.3 kB / 0.7336 GB, free: 64 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.007248, allocations: 212.8 kB / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.007251, allocations: 0 / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0003293/0.007581, allocations: 259.5 kB / 0.734 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.0076, allocations: 9.719 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.007609, allocations: 4 kB / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.007621, allocations: 0 / 0.734 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.007868, allocations: 75.89 kB / 0.7341 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.007874, allocations: 4 kB / 0.7341 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.916e-05/0.007943, allocations: 40.89 kB / 0.7341 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.00796, allocations: 11.94 kB / 0.7342 GB, free: 15.44 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 71 (y,$PRE.y,state[33],$PRE.state[33],state[32],$PRE.state[32],state[31],$PRE.state[31],state[30],$PRE.state[30],state[29],$PRE.state[29],state[28],$PRE.state[28],state[27],$PRE.state[27],state[26],$PRE.state[26],state[25],$PRE.state[25],state[24],$PRE.state[24],state[23],$PRE.state[23],state[22],$PRE.state[22],state[21],$PRE.state[21],state[20],$PRE.state[20],state[19],$PRE.state[19],state[18],$PRE.state[18],state[17],$PRE.state[17],state[16],$PRE.state[16],state[15],$PRE.state[15],state[14],$PRE.state[14],state[13],$PRE.state[13],state[12],$PRE.state[12],state[11],$PRE.state[11],state[10],$PRE.state[10],state[9],$PRE.state[9],state[8],$PRE.state[8],state[7],$PRE.state[7],state[6],$PRE.state[6],state[5],$PRE.state[5],state[4],$PRE.state[4],state[3],$PRE.state[3],state[2],$PRE.state[2],state[1],$PRE.state[1],r,$PRE.r,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 1 * Algorithm blocks: 0 * 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.0001456/0.008105, allocations: 170.8 kB / 0.7343 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.008118, allocations: 1.188 kB / 0.7343 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.687e-05/0.008145, allocations: 5.312 kB / 0.7343 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.008148, allocations: 4 kB / 0.7343 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.00815, allocations: 0.5312 kB / 0.7343 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.008154, allocations: 0.9375 kB / 0.7343 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.008258, allocations: 85.67 kB / 0.7344 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.00826, allocations: 0 / 0.7344 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.599e-05/0.008276, allocations: 0.5625 kB / 0.7344 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/0.008294, allocations: 24.47 kB / 0.7344 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.008297, allocations: 4 kB / 0.7344 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.008302, allocations: 1.031 kB / 0.7344 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.008304, allocations: 0 / 0.7344 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.008305, allocations: 0 / 0.7344 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.008499, allocations: 192.5 kB / 0.7346 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.008529, allocations: 27.98 kB / 0.7346 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.733e-05/0.008547, allocations: 0 / 0.7346 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.008563, allocations: 0 / 0.7346 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.008568, allocations: 256 / 0.7346 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.505e-05/0.008583, allocations: 15.61 kB / 0.7347 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.008583, allocations: 0 / 0.7347 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002718/0.008855, allocations: 59.86 kB / 0.7347 GB, free: 14.82 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,y,state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33],r) * Number of discrete states: 33 (state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004751/0.00933, allocations: 223.8 kB / 0.7349 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.00955, allocations: 144.1 kB / 0.7351 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.009558, allocations: 3.984 kB / 0.7351 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.67e-05/0.009605, allocations: 48.77 kB / 0.7351 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.222e-05/0.009697, allocations: 11.94 kB / 0.7351 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.01004, allocations: 239 kB / 0.7354 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.308e-05/0.01009, allocations: 76.44 kB / 0.7354 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.533e-05/0.01013, allocations: 9.797 kB / 0.7354 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.01018, allocations: 59.38 kB / 0.7355 GB, free: 14 MB / 0.7136 GB Notification: Performance of SimCode: time 6.31e-07/0.01018, allocations: 3.406 kB / 0.7355 GB, free: 14 MB / 0.7136 GB Notification: Performance of Templates: time 0.004634/0.01481, allocations: 1.815 MB / 0.7373 GB, free: 12.3 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D/Buildings_12_Buildings.Occupants.BaseClasses.Validation.Linear1D.ref.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: 4.862716139294207]