Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.001805/0.001805, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002209/0.002209, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.404/3.404, allocations: 0.4892 GB / 0.7943 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 73.14 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4097, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1909/0.6006, allocations: 135.9 MB / 1.458 GB, free: 9.453 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01777/0.6184, allocations: 9.944 MB / 1.468 GB, free: 15.48 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.6196, allocations: 27.81 kB / 1.468 GB, free: 15.45 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.6209, allocations: 281.6 kB / 1.468 GB, free: 15.18 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004058/0.6249, allocations: 1.016 MB / 1.469 GB, free: 14.16 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003756/0.6287, allocations: 1.116 MB / 1.47 GB, free: 13.05 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003636/0.6323, allocations: 1.741 MB / 1.472 GB, free: 11.31 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002345/0.6347, allocations: 0.928 MB / 1.473 GB, free: 10.34 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003298/0.638, allocations: 0.7556 MB / 1.474 GB, free: 9.598 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.6396, allocations: 0.5842 MB / 1.474 GB, free: 9.012 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0006313/0.6402, allocations: 139.9 kB / 1.474 GB, free: 8.875 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00301/0.6432, allocations: 1.018 MB / 1.475 GB, free: 7.855 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007026/0.6439, allocations: 386.8 kB / 1.476 GB, free: 7.477 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.6451, allocations: 0.5482 MB / 1.476 GB, free: 6.926 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004408/0.6495, allocations: 2.269 MB / 1.478 GB, free: 4.648 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6495, allocations: 0 / 1.478 GB, free: 4.648 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6495, allocations: 0 / 1.478 GB, free: 4.648 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.654e-05/0.6495, allocations: 0 / 1.478 GB, free: 4.648 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.004506/0.6541, allocations: 1.711 MB / 1.48 GB, free: 2.902 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.6541, allocations: 12.03 kB / 1.48 GB, free: 2.891 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00244/0.6565, allocations: 318.8 kB / 1.48 GB, free: 2.578 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001944/0.6585, allocations: 0.8616 MB / 1.481 GB, free: 1.688 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-05/0.6586, allocations: 73.94 kB / 1.481 GB, free: 1.613 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.6587, allocations: 96 kB / 1.481 GB, free: 1.52 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002363/0.6611, allocations: 1.486 MB / 1.483 GB, free: 15.9 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.6611, allocations: 0 / 1.483 GB, free: 15.9 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.6612, allocations: 44 kB / 1.483 GB, free: 15.86 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.6612, allocations: 20 kB / 1.483 GB, free: 15.84 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.6636, allocations: 1.28 MB / 1.484 GB, free: 14.55 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005287/0.6689, allocations: 2.564 MB / 1.487 GB, free: 11.94 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.671, allocations: 0.973 MB / 1.488 GB, free: 10.96 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007697/0.6717, allocations: 384.8 kB / 1.488 GB, free: 10.58 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002254/0.6719, allocations: 64.91 kB / 1.488 GB, free: 10.52 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/0.6732, allocations: 0.8435 MB / 1.489 GB, free: 9.598 MB / 1.186 GB Notification: Performance of pre-optimization done (n=95): time 3.096e-06/0.6732, allocations: 0 / 1.489 GB, free: 9.598 MB / 1.186 GB Notification: Performance of matching and sorting (n=95): time 0.004314/0.6776, allocations: 1.485 MB / 1.49 GB, free: 8.105 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.6777, allocations: 192.9 kB / 1.491 GB, free: 7.875 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.6788, allocations: 0.7664 MB / 1.491 GB, free: 7.102 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-05/0.6789, allocations: 45.7 kB / 1.491 GB, free: 7.051 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004425/0.6793, allocations: 477.2 kB / 1.492 GB, free: 6.578 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002968/0.6796, allocations: 337.2 kB / 1.492 GB, free: 6.246 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003086/0.6799, allocations: 190.6 kB / 1.492 GB, free: 6.051 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.6801, allocations: 341.9 kB / 1.493 GB, free: 5.711 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007598/0.6809, allocations: 349.8 kB / 1.493 GB, free: 5.371 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.6819, allocations: 0.6672 MB / 1.494 GB, free: 4.629 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.6835, allocations: 0.7882 MB / 1.494 GB, free: 3.828 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.6835, allocations: 0 / 1.494 GB, free: 3.828 MB / 1.186 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002635/0.6861, allocations: 1.096 MB / 1.495 GB, free: 2.723 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.6861, allocations: 4 kB / 1.495 GB, free: 2.719 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.6862, allocations: 4 kB / 1.495 GB, free: 2.715 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007699/0.6869, allocations: 113.6 kB / 1.496 GB, free: 2.598 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009122/0.6878, allocations: 207.7 kB / 1.496 GB, free: 2.395 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003281/0.6911, allocations: 2.81 MB / 1.499 GB, free: 15.37 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009297/0.692, allocations: 112.9 kB / 1.499 GB, free: 15.26 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.599e-05/0.6921, allocations: 39.97 kB / 1.499 GB, free: 15.22 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005822/0.6927, allocations: 320.9 kB / 1.499 GB, free: 14.9 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.6929, allocations: 103.3 kB / 1.499 GB, free: 14.8 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003068/0.696, allocations: 1.306 MB / 1.5 GB, free: 13.47 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.696, allocations: 12 kB / 1.5 GB, free: 13.46 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.696, allocations: 3.938 kB / 1.5 GB, free: 13.46 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.696, allocations: 3.984 kB / 1.5 GB, free: 13.45 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004303/0.7003, allocations: 2.127 MB / 1.502 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.7003, allocations: 0 / 1.502 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008898/0.7012, allocations: 191.8 kB / 1.503 GB, free: 11.09 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005525/0.7018, allocations: 101.6 kB / 1.503 GB, free: 10.99 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-05/0.7018, allocations: 23.98 kB / 1.503 GB, free: 10.96 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003131/0.705, allocations: 2.844 MB / 1.506 GB, free: 7.91 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.705, allocations: 3.938 kB / 1.506 GB, free: 7.906 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002931/0.7079, allocations: 1.233 MB / 1.507 GB, free: 6.645 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006422/0.7086, allocations: 242.9 kB / 1.507 GB, free: 6.406 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.7087, allocations: 20 kB / 1.507 GB, free: 6.387 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000812/0.7095, allocations: 79.98 kB / 1.507 GB, free: 6.309 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/0.7097, allocations: 80.84 kB / 1.507 GB, free: 6.23 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.7098, allocations: 43.97 kB / 1.507 GB, free: 6.188 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008521/0.7107, allocations: 0.5536 MB / 1.508 GB, free: 5.637 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7107, allocations: 0 / 1.508 GB, free: 5.637 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00145/0.7121, allocations: 470.8 kB / 1.508 GB, free: 5.176 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002514/0.7146, allocations: 0.7397 MB / 1.509 GB, free: 4.641 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002462/0.7171, allocations: 1.103 MB / 1.51 GB, free: 3.508 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.7171, allocations: 3.859 kB / 1.51 GB, free: 3.504 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.7184, allocations: 0.706 MB / 1.511 GB, free: 2.773 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.72, allocations: 348.3 kB / 1.511 GB, free: 2.449 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003986/0.724, allocations: 2.075 MB / 1.513 GB, free: 360 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/0.7246, allocations: 0.5125 MB / 1.514 GB, free: 15.81 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001031/0.7256, allocations: 315.3 kB / 1.514 GB, free: 15.5 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/0.7259, allocations: 115.4 kB / 1.514 GB, free: 15.38 MB / 1.217 GB Notification: Performance of SimCode: time 6.31e-07/0.7259, allocations: 0 / 1.514 GB, free: 15.38 MB / 1.217 GB Notification: Performance of Templates: time 0.03904/0.765, allocations: 21.51 MB / 1.535 GB, free: 10.21 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.651675168424845]