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.001358/0.001358, allocations: 96.42 kB / 19.7 MB, free: 2.129 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.001477/0.001477, allocations: 214.9 kB / 22.99 MB, free: 4.945 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.213/3.213, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002074/0.002074, allocations: 68.19 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3774, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2133/0.5908, allocations: 155.8 MB / 1.479 GB, free: 4.59 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01783/0.6086, allocations: 10.3 MB / 1.489 GB, free: 10.26 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001732/0.6103, allocations: 43.62 kB / 1.489 GB, free: 10.21 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.6118, allocations: 428.7 kB / 1.49 GB, free: 9.793 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004113/0.616, allocations: 1.135 MB / 1.491 GB, free: 8.656 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004748/0.6207, allocations: 1.754 MB / 1.493 GB, free: 6.906 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003341/0.624, allocations: 2.404 MB / 1.495 GB, free: 4.496 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001957/0.626, allocations: 1.128 MB / 1.496 GB, free: 3.324 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004289/0.6303, allocations: 1.484 MB / 1.497 GB, free: 1.855 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/0.6316, allocations: 0.8208 MB / 1.498 GB, free: 1.031 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002688/0.6319, allocations: 160 kB / 1.498 GB, free: 0.875 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.6347, allocations: 1.295 MB / 1.5 GB, free: 15.58 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000479/0.6352, allocations: 458.5 kB / 1.5 GB, free: 15.13 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007901/0.636, allocations: 0.6454 MB / 1.501 GB, free: 14.48 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005488/0.6415, allocations: 2.623 MB / 1.503 GB, free: 11.85 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/0.6415, allocations: 3.984 kB / 1.503 GB, free: 11.84 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.595e-06/0.6415, allocations: 0 / 1.503 GB, free: 11.84 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.452e-05/0.6416, allocations: 0 / 1.503 GB, free: 11.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.004188/0.6457, allocations: 1.883 MB / 1.505 GB, free: 9.914 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.6458, allocations: 11.97 kB / 1.505 GB, free: 9.902 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/0.6488, allocations: 406.6 kB / 1.506 GB, free: 9.504 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/0.6508, allocations: 0.9201 MB / 1.506 GB, free: 8.551 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.47e-05/0.6509, allocations: 90.27 kB / 1.507 GB, free: 8.461 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/0.6511, allocations: 116 kB / 1.507 GB, free: 8.348 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002823/0.6539, allocations: 1.675 MB / 1.508 GB, free: 6.516 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.654, allocations: 3.984 kB / 1.508 GB, free: 6.512 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.6541, allocations: 55.94 kB / 1.508 GB, free: 6.457 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.738e-05/0.6541, allocations: 28 kB / 1.508 GB, free: 6.43 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002683/0.6568, allocations: 1.406 MB / 1.51 GB, free: 5.016 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.00641/0.6632, allocations: 2.945 MB / 1.513 GB, free: 2.012 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002319/0.6655, allocations: 1.075 MB / 1.514 GB, free: 0.9219 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008317/0.6664, allocations: 424.8 kB / 1.514 GB, free: 0.5078 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007129/0.6671, allocations: 125.5 kB / 1.514 GB, free: 396 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00142/0.6685, allocations: 0.8749 MB / 1.515 GB, free: 15.43 MB / 1.217 GB Notification: Performance of pre-optimization done (n=106): time 3.186e-06/0.6685, allocations: 0 / 1.515 GB, free: 15.43 MB / 1.217 GB Notification: Performance of matching and sorting (n=106): time 0.004465/0.673, allocations: 1.531 MB / 1.517 GB, free: 13.9 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.6731, allocations: 196.9 kB / 1.517 GB, free: 13.66 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.6742, allocations: 0.7433 MB / 1.517 GB, free: 12.91 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.6743, allocations: 49.64 kB / 1.518 GB, free: 12.85 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005402/0.6749, allocations: 0.5479 MB / 1.518 GB, free: 12.3 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004223/0.6753, allocations: 372.8 kB / 1.518 GB, free: 11.93 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000431/0.6757, allocations: 210.9 kB / 1.519 GB, free: 11.72 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002372/0.676, allocations: 341.9 kB / 1.519 GB, free: 11.38 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009164/0.6769, allocations: 386.3 kB / 1.519 GB, free: 11 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.6781, allocations: 0.6842 MB / 1.52 GB, free: 10.25 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/0.6799, allocations: 0.868 MB / 1.521 GB, free: 9.367 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.6799, allocations: 3.938 kB / 1.521 GB, free: 9.363 MB / 1.217 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00301/0.6829, allocations: 1.154 MB / 1.522 GB, free: 8.195 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.6829, allocations: 8 kB / 1.522 GB, free: 8.188 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.6829, allocations: 0 / 1.522 GB, free: 8.188 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006947/0.6836, allocations: 88.86 kB / 1.522 GB, free: 8.098 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.6847, allocations: 231.6 kB / 1.522 GB, free: 7.871 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002484/0.6872, allocations: 1.513 MB / 1.524 GB, free: 6.254 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.6883, allocations: 111.7 kB / 1.524 GB, free: 6.145 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.6885, allocations: 47.97 kB / 1.524 GB, free: 6.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.000683/0.6891, allocations: 327.3 kB / 1.524 GB, free: 5.77 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000265/0.6894, allocations: 115.2 kB / 1.524 GB, free: 5.656 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003382/0.6928, allocations: 1.496 MB / 1.526 GB, free: 4.137 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.6928, allocations: 12 kB / 1.526 GB, free: 4.125 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.6928, allocations: 0 / 1.526 GB, free: 4.125 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.6928, allocations: 3.984 kB / 1.526 GB, free: 4.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.005092/0.6979, allocations: 2.381 MB / 1.528 GB, free: 1.68 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.6979, allocations: 4 kB / 1.528 GB, free: 1.676 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.6989, allocations: 200 kB / 1.528 GB, free: 1.48 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005/0.6994, allocations: 72.78 kB / 1.528 GB, free: 1.406 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.062e-05/0.6995, allocations: 39.91 kB / 1.528 GB, free: 1.367 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/0.7017, allocations: 1.547 MB / 1.53 GB, free: 15.71 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.7017, allocations: 7.984 kB / 1.53 GB, free: 15.7 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003994/0.7057, allocations: 1.862 MB / 1.532 GB, free: 13.8 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007159/0.7064, allocations: 254.8 kB / 1.532 GB, free: 13.55 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.7066, allocations: 27.94 kB / 1.532 GB, free: 13.53 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009551/0.7076, allocations: 77.3 kB / 1.532 GB, free: 13.45 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.7078, allocations: 92.77 kB / 1.532 GB, free: 13.36 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.7079, allocations: 47.97 kB / 1.532 GB, free: 13.31 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008245/0.7087, allocations: 0.5341 MB / 1.533 GB, free: 12.79 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.7087, allocations: 0 / 1.533 GB, free: 12.79 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001441/0.7101, allocations: 490.7 kB / 1.533 GB, free: 12.3 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.002496/0.7126, allocations: 0.7183 MB / 1.534 GB, free: 11.79 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002496/0.7151, allocations: 1.054 MB / 1.535 GB, free: 10.72 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.7151, allocations: 0 / 1.535 GB, free: 10.72 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/0.7164, allocations: 0.6216 MB / 1.536 GB, free: 10.09 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/0.7184, allocations: 451.8 kB / 1.536 GB, free: 9.676 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00456/0.7229, allocations: 2.432 MB / 1.538 GB, free: 7.191 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006566/0.7236, allocations: 0.5825 MB / 1.539 GB, free: 6.574 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001138/0.7247, allocations: 348.5 kB / 1.539 GB, free: 6.23 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003838/0.7251, allocations: 135.4 kB / 1.539 GB, free: 6.098 MB / 1.232 GB Notification: Performance of SimCode: time 7.21e-07/0.7251, allocations: 4 kB / 1.539 GB, free: 6.094 MB / 1.232 GB Notification: Performance of Templates: time 0.04226/0.7674, allocations: 24.01 MB / 1.563 GB, free: 14.5 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 cvode -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: 10.538786914010416]