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.001469/0.001469, 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.001898/0.001898, 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.494/1.494, 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.303/3.303, allocations: 0.4892 GB / 0.7943 GB, free: 35.65 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,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.002166/0.002166, allocations: 66.88 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3493, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2034/0.5527, allocations: 155.8 MB / 1.478 GB, free: 5.473 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01638/0.5691, allocations: 10.33 MB / 1.488 GB, free: 11.12 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.5702, allocations: 43.62 kB / 1.488 GB, free: 11.07 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.5714, allocations: 424.7 kB / 1.488 GB, free: 10.66 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003382/0.5748, allocations: 1.125 MB / 1.489 GB, free: 9.531 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004409/0.5792, allocations: 1.75 MB / 1.491 GB, free: 7.785 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003141/0.5823, allocations: 2.388 MB / 1.493 GB, free: 5.387 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001782/0.5841, allocations: 1.108 MB / 1.494 GB, free: 4.234 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00401/0.5881, allocations: 1.488 MB / 1.496 GB, free: 2.758 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.5893, allocations: 0.7505 MB / 1.497 GB, free: 2.004 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002456/0.5895, allocations: 156 kB / 1.497 GB, free: 1.852 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002723/0.5922, allocations: 1.267 MB / 1.498 GB, free: 0.582 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004813/0.5927, allocations: 458.6 kB / 1.498 GB, free: 136 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007675/0.5935, allocations: 0.6532 MB / 1.499 GB, free: 15.48 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004055/0.5975, allocations: 2.619 MB / 1.502 GB, free: 12.85 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.5975, allocations: 4 kB / 1.502 GB, free: 12.84 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5975, allocations: 0 / 1.502 GB, free: 12.84 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.958e-05/0.5976, allocations: 0 / 1.502 GB, free: 12.84 MB / 1.201 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.003729/0.6013, allocations: 1.883 MB / 1.503 GB, free: 10.91 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.6013, allocations: 12.03 kB / 1.503 GB, free: 10.9 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002846/0.6042, allocations: 406.6 kB / 1.504 GB, free: 10.5 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/0.6062, allocations: 0.9201 MB / 1.505 GB, free: 9.551 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.74e-05/0.6063, allocations: 90.33 kB / 1.505 GB, free: 9.461 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/0.6065, allocations: 112 kB / 1.505 GB, free: 9.352 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/0.6091, allocations: 1.683 MB / 1.507 GB, free: 7.512 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.6092, allocations: 0 / 1.507 GB, free: 7.512 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.6093, allocations: 48 kB / 1.507 GB, free: 7.465 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.6093, allocations: 28 kB / 1.507 GB, free: 7.438 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002623/0.612, allocations: 1.41 MB / 1.508 GB, free: 6.02 MB / 1.201 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.006169/0.6181, allocations: 2.952 MB / 1.511 GB, free: 3.008 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/0.6205, allocations: 1.079 MB / 1.512 GB, free: 1.918 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008522/0.6214, allocations: 417.1 kB / 1.512 GB, free: 1.512 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006334/0.622, allocations: 113.6 kB / 1.513 GB, free: 1.402 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/0.6234, allocations: 0.8936 MB / 1.513 GB, free: 448 kB / 1.201 GB Notification: Performance of pre-optimization done (n=106): time 3.697e-06/0.6234, allocations: 0 / 1.513 GB, free: 448 kB / 1.201 GB Notification: Performance of matching and sorting (n=106): time 0.004361/0.6278, allocations: 1.523 MB / 1.515 GB, free: 14.91 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.6279, allocations: 196.9 kB / 1.515 GB, free: 14.67 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.629, allocations: 0.7472 MB / 1.516 GB, free: 13.91 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 9.754e-05/0.6291, allocations: 49.7 kB / 1.516 GB, free: 13.86 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005036/0.6297, allocations: 0.5323 MB / 1.516 GB, free: 13.32 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003465/0.63, allocations: 384.8 kB / 1.517 GB, free: 12.94 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003428/0.6303, allocations: 206.9 kB / 1.517 GB, free: 12.73 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.6305, allocations: 349.9 kB / 1.517 GB, free: 12.38 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000817/0.6313, allocations: 382.4 kB / 1.518 GB, free: 12.01 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.6324, allocations: 0.6803 MB / 1.518 GB, free: 11.26 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/0.6342, allocations: 0.8679 MB / 1.519 GB, free: 10.38 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.6342, allocations: 7.922 kB / 1.519 GB, free: 10.37 MB / 1.217 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00282/0.637, allocations: 1.158 MB / 1.52 GB, free: 9.199 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.637, allocations: 6.031 kB / 1.52 GB, free: 9.195 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.6371, allocations: 4 kB / 1.52 GB, free: 9.191 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006379/0.6377, allocations: 84.86 kB / 1.52 GB, free: 9.105 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.6387, allocations: 231.7 kB / 1.521 GB, free: 8.879 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/0.641, allocations: 1.516 MB / 1.522 GB, free: 7.258 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009479/0.6419, allocations: 115.5 kB / 1.522 GB, free: 7.145 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.642, allocations: 47.97 kB / 1.522 GB, free: 7.098 MB / 1.217 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.0006124/0.6426, allocations: 319.3 kB / 1.523 GB, free: 6.777 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/0.6429, allocations: 115.2 kB / 1.523 GB, free: 6.664 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003333/0.6462, allocations: 1.496 MB / 1.524 GB, free: 5.145 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.6462, allocations: 12 kB / 1.524 GB, free: 5.133 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.6462, allocations: 0 / 1.524 GB, free: 5.133 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.6462, allocations: 11.92 kB / 1.524 GB, free: 5.121 MB / 1.217 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.005017/0.6512, allocations: 2.377 MB / 1.526 GB, free: 2.684 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.6513, allocations: 4 kB / 1.526 GB, free: 2.68 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009591/0.6522, allocations: 203.9 kB / 1.527 GB, free: 2.48 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004583/0.6527, allocations: 72.78 kB / 1.527 GB, free: 2.406 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.307e-05/0.6528, allocations: 35.97 kB / 1.527 GB, free: 2.371 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/0.6548, allocations: 1.543 MB / 1.528 GB, free: 0.7188 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6548, allocations: 4.062 kB / 1.528 GB, free: 0.7148 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003839/0.6586, allocations: 1.866 MB / 1.53 GB, free: 14.81 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006537/0.6593, allocations: 259.1 kB / 1.53 GB, free: 14.56 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.6595, allocations: 27.95 kB / 1.53 GB, free: 14.53 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000896/0.6604, allocations: 83.84 kB / 1.53 GB, free: 14.45 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.6606, allocations: 88.83 kB / 1.531 GB, free: 14.36 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.6607, allocations: 51.91 kB / 1.531 GB, free: 14.31 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007906/0.6614, allocations: 0.5341 MB / 1.531 GB, free: 13.78 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6614, allocations: 0 / 1.531 GB, free: 13.78 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001278/0.6627, allocations: 478.7 kB / 1.532 GB, free: 13.31 MB / 1.232 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.002405/0.6651, allocations: 0.7332 MB / 1.532 GB, free: 12.78 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002406/0.6675, allocations: 1.054 MB / 1.533 GB, free: 11.71 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6675, allocations: 0 / 1.533 GB, free: 11.71 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.6688, allocations: 0.625 MB / 1.534 GB, free: 11.08 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.6707, allocations: 440.9 kB / 1.534 GB, free: 10.67 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/0.6754, allocations: 2.434 MB / 1.537 GB, free: 8.188 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007631/0.6762, allocations: 0.5747 MB / 1.537 GB, free: 7.578 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001277/0.6774, allocations: 356.5 kB / 1.538 GB, free: 7.227 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003825/0.6778, allocations: 135.4 kB / 1.538 GB, free: 7.094 MB / 1.232 GB Notification: Performance of SimCode: time 1.123e-06/0.6778, allocations: 0 / 1.538 GB, free: 7.094 MB / 1.232 GB Notification: Performance of Templates: time 0.04151/0.7193, allocations: 23.71 MB / 1.561 GB, free: 15.79 MB / 1.264 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.877441588789225]