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.001277/0.001277, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001445/0.001445, allocations: 212.4 kB / 22.99 MB, free: 4.984 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.449/1.449, allocations: 230.6 MB / 256.8 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.149/3.149, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.002046/0.002046, allocations: 70.73 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3025, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.196/0.4985, allocations: 155.8 MB / 1.479 GB, free: 4.551 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01687/0.5154, allocations: 10.32 MB / 1.489 GB, free: 10.2 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000987/0.5163, allocations: 39.69 kB / 1.489 GB, free: 10.16 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.5175, allocations: 436.6 kB / 1.49 GB, free: 9.73 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003063/0.5206, allocations: 1.121 MB / 1.491 GB, free: 8.605 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004159/0.5247, allocations: 1.748 MB / 1.493 GB, free: 6.863 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002873/0.5276, allocations: 2.408 MB / 1.495 GB, free: 4.449 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001694/0.5293, allocations: 1.124 MB / 1.496 GB, free: 3.281 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003699/0.533, allocations: 1.48 MB / 1.497 GB, free: 1.816 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.5341, allocations: 0.8324 MB / 1.498 GB, free: 0.9805 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.5343, allocations: 156 kB / 1.498 GB, free: 0.8281 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002513/0.5368, allocations: 1.287 MB / 1.5 GB, free: 15.54 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004548/0.5373, allocations: 462.5 kB / 1.5 GB, free: 15.09 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007274/0.538, allocations: 0.6455 MB / 1.501 GB, free: 14.44 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003567/0.5416, allocations: 2.627 MB / 1.503 GB, free: 11.8 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.5416, allocations: 3.984 kB / 1.503 GB, free: 11.8 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5416, allocations: 0 / 1.503 GB, free: 11.8 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.647e-05/0.5416, allocations: 0 / 1.503 GB, free: 11.8 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.003597/0.5452, allocations: 1.883 MB / 1.505 GB, free: 9.867 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.5452, allocations: 8.031 kB / 1.505 GB, free: 9.859 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002885/0.5481, allocations: 410.6 kB / 1.506 GB, free: 9.457 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/0.5499, allocations: 0.9201 MB / 1.506 GB, free: 8.504 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.594e-05/0.55, allocations: 94.25 kB / 1.507 GB, free: 8.41 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.5502, allocations: 112 kB / 1.507 GB, free: 8.301 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/0.5528, allocations: 1.683 MB / 1.508 GB, free: 6.461 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.5528, allocations: 0 / 1.508 GB, free: 6.461 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.5529, allocations: 48 kB / 1.508 GB, free: 6.414 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.553, allocations: 28 kB / 1.508 GB, free: 6.387 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002538/0.5555, allocations: 1.406 MB / 1.51 GB, free: 4.973 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.006004/0.5615, allocations: 2.949 MB / 1.513 GB, free: 1.965 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00231/0.5638, allocations: 1.087 MB / 1.514 GB, free: 0.8633 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007896/0.5646, allocations: 411.6 kB / 1.514 GB, free: 472 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006663/0.5653, allocations: 121.6 kB / 1.514 GB, free: 352 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001425/0.5667, allocations: 0.8788 MB / 1.515 GB, free: 15.38 MB / 1.217 GB Notification: Performance of pre-optimization done (n=106): time 3.446e-06/0.5667, allocations: 4 kB / 1.515 GB, free: 15.38 MB / 1.217 GB Notification: Performance of matching and sorting (n=106): time 0.004421/0.5711, allocations: 1.527 MB / 1.517 GB, free: 13.85 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.5713, allocations: 200.9 kB / 1.517 GB, free: 13.61 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.5724, allocations: 0.7433 MB / 1.517 GB, free: 12.85 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.5725, allocations: 45.7 kB / 1.518 GB, free: 12.8 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004931/0.573, allocations: 0.5362 MB / 1.518 GB, free: 12.26 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003671/0.5733, allocations: 376.7 kB / 1.518 GB, free: 11.89 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003718/0.5737, allocations: 214.8 kB / 1.519 GB, free: 11.68 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.5739, allocations: 345.9 kB / 1.519 GB, free: 11.33 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008114/0.5747, allocations: 386.4 kB / 1.519 GB, free: 10.95 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.5758, allocations: 0.6764 MB / 1.52 GB, free: 10.21 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/0.5775, allocations: 0.8719 MB / 1.521 GB, free: 9.324 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.5775, allocations: 3.938 kB / 1.521 GB, free: 9.32 MB / 1.217 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00288/0.5804, allocations: 1.154 MB / 1.522 GB, free: 8.152 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.5804, allocations: 8 kB / 1.522 GB, free: 8.145 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.5804, allocations: 96 / 1.522 GB, free: 8.145 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006952/0.5811, allocations: 88.77 kB / 1.522 GB, free: 8.055 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.5823, allocations: 231.7 kB / 1.522 GB, free: 7.828 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.5845, allocations: 1.518 MB / 1.524 GB, free: 6.207 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.5856, allocations: 111.4 kB / 1.524 GB, free: 6.098 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.5857, allocations: 51.95 kB / 1.524 GB, free: 6.047 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.0006436/0.5864, allocations: 328.8 kB / 1.524 GB, free: 5.719 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/0.5866, allocations: 119.2 kB / 1.524 GB, free: 5.602 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00337/0.59, allocations: 1.492 MB / 1.526 GB, free: 4.086 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.59, allocations: 12 kB / 1.526 GB, free: 4.074 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.59, allocations: 0 / 1.526 GB, free: 4.074 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.59, allocations: 3.984 kB / 1.526 GB, free: 4.07 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.004954/0.595, allocations: 2.381 MB / 1.528 GB, free: 1.629 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.595, allocations: 4 kB / 1.528 GB, free: 1.625 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009736/0.596, allocations: 199.7 kB / 1.528 GB, free: 1.43 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004861/0.5964, allocations: 76.97 kB / 1.528 GB, free: 1.352 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.41e-05/0.5965, allocations: 39.95 kB / 1.528 GB, free: 1.312 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.5986, allocations: 1.536 MB / 1.53 GB, free: 15.67 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.5986, allocations: 7.938 kB / 1.53 GB, free: 15.66 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003762/0.6024, allocations: 1.862 MB / 1.532 GB, free: 13.76 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006268/0.603, allocations: 258.8 kB / 1.532 GB, free: 13.51 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.6032, allocations: 24.06 kB / 1.532 GB, free: 13.48 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009388/0.6041, allocations: 77.12 kB / 1.532 GB, free: 13.41 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.6043, allocations: 88.83 kB / 1.532 GB, free: 13.32 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.6044, allocations: 47.97 kB / 1.532 GB, free: 13.27 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007802/0.6052, allocations: 0.5381 MB / 1.533 GB, free: 12.74 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.6052, allocations: 0 / 1.533 GB, free: 12.74 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001248/0.6064, allocations: 486.7 kB / 1.533 GB, free: 12.27 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.002319/0.6087, allocations: 0.7283 MB / 1.534 GB, free: 11.74 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002331/0.6111, allocations: 1.057 MB / 1.535 GB, free: 10.67 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6111, allocations: 0 / 1.535 GB, free: 10.67 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.6123, allocations: 0.6254 MB / 1.536 GB, free: 10.04 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001847/0.6142, allocations: 450 kB / 1.536 GB, free: 9.625 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004503/0.6187, allocations: 2.426 MB / 1.538 GB, free: 7.145 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006933/0.6194, allocations: 0.5786 MB / 1.539 GB, free: 6.531 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001156/0.6205, allocations: 352.5 kB / 1.539 GB, free: 6.184 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004029/0.6209, allocations: 135.4 kB / 1.539 GB, free: 6.051 MB / 1.232 GB Notification: Performance of SimCode: time 6.71e-07/0.6209, allocations: 4 kB / 1.539 GB, free: 6.047 MB / 1.232 GB Notification: Performance of Templates: time 0.04166/0.6626, allocations: 24 MB / 1.563 GB, free: 14.45 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 -s gbode -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/jenkins1/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: 17.919914746002178]