Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside.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.001709/0.001709, allocations: 108 kB / 16.45 MB, free: 6.391 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.001998/0.001998, allocations: 209.7 kB / 19.43 MB, free: 3.73 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.489/1.489, allocations: 230.6 MB / 252.8 MB, free: 8.992 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.123/3.123, allocations: 0.4899 GB / 0.7915 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 177] 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside") [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.00201/0.00201, allocations: 72.77 kB / 1.149 GB, free: 26.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3456, allocations: 176.1 MB / 1.321 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2248/0.5704, allocations: 180.1 MB / 1.497 GB, free: 14.02 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0178/0.5882, allocations: 11.04 MB / 1.508 GB, free: 2.949 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.5898, allocations: 43.62 kB / 1.508 GB, free: 2.906 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.5912, allocations: 432.6 kB / 1.508 GB, free: 2.48 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00359/0.5948, allocations: 1.121 MB / 1.509 GB, free: 1.355 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004821/0.5996, allocations: 1.754 MB / 1.511 GB, free: 15.61 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003571/0.6032, allocations: 2.388 MB / 1.513 GB, free: 13.21 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.6052, allocations: 1.147 MB / 1.515 GB, free: 12.03 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004588/0.6098, allocations: 1.479 MB / 1.516 GB, free: 10.56 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.611, allocations: 0.8247 MB / 1.517 GB, free: 9.734 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002488/0.6113, allocations: 160 kB / 1.517 GB, free: 9.578 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003315/0.6146, allocations: 1.497 MB / 1.518 GB, free: 8.078 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004556/0.615, allocations: 454.6 kB / 1.519 GB, free: 7.633 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0008766/0.6159, allocations: 0.7969 MB / 1.52 GB, free: 6.832 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004401/0.6203, allocations: 2.643 MB / 1.522 GB, free: 4.18 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.6203, allocations: 4 kB / 1.522 GB, free: 4.176 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6203, allocations: 0 / 1.522 GB, free: 4.176 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.813e-05/0.6204, allocations: 0 / 1.522 GB, free: 4.176 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003842/0.6242, allocations: 1.955 MB / 1.524 GB, free: 2.156 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.6242, allocations: 15.98 kB / 1.524 GB, free: 2.141 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002743/0.627, allocations: 406.6 kB / 1.525 GB, free: 1.742 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/0.6288, allocations: 1.004 MB / 1.526 GB, free: 0.6953 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.6289, allocations: 94.27 kB / 1.526 GB, free: 0.6016 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.6291, allocations: 112 kB / 1.526 GB, free: 0.4922 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/0.6316, allocations: 1.294 MB / 1.527 GB, free: 15.13 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.6317, allocations: 0 / 1.527 GB, free: 15.13 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.6318, allocations: 55.98 kB / 1.527 GB, free: 15.07 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.836e-05/0.6318, allocations: 28 kB / 1.527 GB, free: 15.05 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/0.6345, allocations: 1.449 MB / 1.529 GB, free: 13.59 MB / 1.232 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007009/0.6415, allocations: 4.1 MB / 1.533 GB, free: 9.273 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002356/0.6439, allocations: 1.161 MB / 1.534 GB, free: 8.082 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008084/0.6447, allocations: 415.6 kB / 1.534 GB, free: 7.672 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008072/0.6455, allocations: 425.3 kB / 1.534 GB, free: 7.184 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001188/0.6467, allocations: 0.6528 MB / 1.535 GB, free: 6.516 MB / 1.232 GB Notification: Performance of pre-optimization done (n=106): time 2.394e-06/0.6467, allocations: 4 kB / 1.535 GB, free: 6.512 MB / 1.232 GB Notification: Performance of matching and sorting (n=106): time 0.004319/0.651, allocations: 1.614 MB / 1.537 GB, free: 4.871 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.6511, allocations: 196.9 kB / 1.537 GB, free: 4.637 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.6525, allocations: 0.907 MB / 1.538 GB, free: 3.707 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.6526, allocations: 49.7 kB / 1.538 GB, free: 3.652 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005402/0.6532, allocations: 0.5247 MB / 1.538 GB, free: 3.121 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003587/0.6535, allocations: 376.8 kB / 1.539 GB, free: 2.75 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003506/0.6539, allocations: 210.8 kB / 1.539 GB, free: 2.535 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.6541, allocations: 353.9 kB / 1.539 GB, free: 2.184 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007763/0.6548, allocations: 378.4 kB / 1.54 GB, free: 1.816 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000949/0.6558, allocations: 0.5046 MB / 1.54 GB, free: 1.285 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.6574, allocations: 0.8718 MB / 1.541 GB, free: 400 kB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.6574, allocations: 4 kB / 1.541 GB, free: 396 kB / 1.232 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002856/0.6603, allocations: 1.173 MB / 1.542 GB, free: 15.21 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.6603, allocations: 7.938 kB / 1.542 GB, free: 15.2 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.6603, allocations: 4.094 kB / 1.542 GB, free: 15.2 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006403/0.661, allocations: 80.78 kB / 1.542 GB, free: 15.11 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.662, allocations: 239.6 kB / 1.542 GB, free: 14.88 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/0.6643, allocations: 1.648 MB / 1.544 GB, free: 13.08 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.6653, allocations: 131.1 kB / 1.544 GB, free: 12.95 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.6655, allocations: 47.97 kB / 1.544 GB, free: 12.91 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (128): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006176/0.6661, allocations: 325.8 kB / 1.544 GB, free: 12.58 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002735/0.6663, allocations: 131.2 kB / 1.545 GB, free: 12.45 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00336/0.6697, allocations: 1.498 MB / 1.546 GB, free: 10.94 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.6697, allocations: 12 kB / 1.546 GB, free: 10.93 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.6697, allocations: 0 / 1.546 GB, free: 10.93 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.6697, allocations: 7.969 kB / 1.546 GB, free: 10.92 MB / 1.248 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005446/0.6752, allocations: 2.859 MB / 1.549 GB, free: 7.949 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.6752, allocations: 3.938 kB / 1.549 GB, free: 7.945 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009161/0.6761, allocations: 200 kB / 1.549 GB, free: 7.75 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004473/0.6766, allocations: 68.78 kB / 1.549 GB, free: 7.68 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.182e-05/0.6766, allocations: 35.97 kB / 1.549 GB, free: 7.645 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002067/0.6787, allocations: 1.689 MB / 1.551 GB, free: 5.809 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6787, allocations: 0 / 1.551 GB, free: 5.809 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003737/0.6825, allocations: 1.867 MB / 1.553 GB, free: 3.906 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005922/0.683, allocations: 359.9 kB / 1.553 GB, free: 3.535 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.6833, allocations: 24 kB / 1.553 GB, free: 3.512 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009806/0.6843, allocations: 76.66 kB / 1.553 GB, free: 3.441 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/0.6845, allocations: 92.98 kB / 1.553 GB, free: 3.352 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.6846, allocations: 51.97 kB / 1.553 GB, free: 3.301 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001083/0.6857, allocations: 0.6384 MB / 1.554 GB, free: 2.652 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6857, allocations: 3.938 kB / 1.554 GB, free: 2.648 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00137/0.687, allocations: 474.9 kB / 1.554 GB, free: 2.184 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002273/0.6893, allocations: 0.6911 MB / 1.555 GB, free: 1.656 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002488/0.6918, allocations: 1.058 MB / 1.556 GB, free: 0.5859 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.6918, allocations: 0 / 1.556 GB, free: 0.5859 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.6931, allocations: 0.6211 MB / 1.557 GB, free: 15.95 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/0.6955, allocations: 0.5227 MB / 1.557 GB, free: 15.45 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004848/0.7003, allocations: 2.433 MB / 1.559 GB, free: 12.97 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009776/0.7013, allocations: 1.17 MB / 1.561 GB, free: 11.77 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0014/0.7027, allocations: 377.8 kB / 1.561 GB, free: 11.4 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004438/0.7032, allocations: 143.3 kB / 1.561 GB, free: 11.26 MB / 1.264 GB Notification: Performance of SimCode: time 1.122e-06/0.7032, allocations: 4 kB / 1.561 GB, free: 11.26 MB / 1.264 GB Notification: Performance of Templates: time 0.04617/0.7493, allocations: 24.45 MB / 1.585 GB, free: 3.109 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.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.425732817966491]