Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 200.5 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.831/2.831, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.Sources.Examples.Outside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 63.91 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7111/0.7132, allocations: 168.7 MB / 1.274 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2105/0.9236, allocations: 177.4 MB / 1.447 GB, free: 2.359 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01684/0.9405, allocations: 11.1 MB / 1.458 GB, free: 7.223 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.9418, allocations: 31.81 kB / 1.458 GB, free: 7.191 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.943, allocations: 424.6 kB / 1.459 GB, free: 6.773 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003392/0.9464, allocations: 1.122 MB / 1.46 GB, free: 5.648 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004262/0.9506, allocations: 1.747 MB / 1.461 GB, free: 3.906 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003255/0.9539, allocations: 2.388 MB / 1.464 GB, free: 1.508 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00181/0.9557, allocations: 1.131 MB / 1.465 GB, free: 344 kB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003481/0.9592, allocations: 1.306 MB / 1.466 GB, free: 15.04 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.9607, allocations: 0.8247 MB / 1.467 GB, free: 14.21 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003555/0.961, allocations: 156 kB / 1.467 GB, free: 14.06 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003173/0.9642, allocations: 1.466 MB / 1.468 GB, free: 12.59 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005366/0.9647, allocations: 450.6 kB / 1.469 GB, free: 12.15 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000982/0.9657, allocations: 0.7814 MB / 1.47 GB, free: 11.37 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004338/0.97, allocations: 2.592 MB / 1.472 GB, free: 8.766 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.97, allocations: 0 / 1.472 GB, free: 8.766 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.783e-06/0.97, allocations: 0 / 1.472 GB, free: 8.766 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.032e-05/0.9701, allocations: 3.938 kB / 1.472 GB, free: 8.762 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.0039/0.974, allocations: 1.939 MB / 1.474 GB, free: 6.758 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.974, allocations: 12.03 kB / 1.474 GB, free: 6.746 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002298/0.9763, allocations: 354.7 kB / 1.474 GB, free: 6.398 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/0.9783, allocations: 0.9962 MB / 1.475 GB, free: 5.359 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.149e-05/0.9783, allocations: 86.33 kB / 1.475 GB, free: 5.273 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/0.9786, allocations: 116 kB / 1.476 GB, free: 5.16 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/0.981, allocations: 1.298 MB / 1.477 GB, free: 3.797 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.981, allocations: 4 kB / 1.477 GB, free: 3.793 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.9811, allocations: 48 kB / 1.477 GB, free: 3.746 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/0.9811, allocations: 31.94 kB / 1.477 GB, free: 3.715 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002643/0.9838, allocations: 1.453 MB / 1.478 GB, free: 2.254 MB / 1.17 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.006844/0.9906, allocations: 4.047 MB / 1.482 GB, free: 14 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002346/0.993, allocations: 1.149 MB / 1.483 GB, free: 12.82 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008198/0.9938, allocations: 407.6 kB / 1.484 GB, free: 12.42 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008518/0.9946, allocations: 433.2 kB / 1.484 GB, free: 11.93 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00127/0.9959, allocations: 0.6683 MB / 1.485 GB, free: 11.24 MB / 1.186 GB Notification: Performance of pre-optimization done (n=106): time 2.855e-06/0.9959, allocations: 4 kB / 1.485 GB, free: 11.24 MB / 1.186 GB Notification: Performance of matching and sorting (n=106): time 0.004561/1, allocations: 1.599 MB / 1.486 GB, free: 9.609 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/1.001, allocations: 196.9 kB / 1.487 GB, free: 9.375 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/1.002, allocations: 0.8824 MB / 1.487 GB, free: 8.469 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001291/1.002, allocations: 53.69 kB / 1.488 GB, free: 8.41 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005586/1.003, allocations: 0.5246 MB / 1.488 GB, free: 7.879 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000372/1.003, allocations: 372.8 kB / 1.488 GB, free: 7.512 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003534/1.003, allocations: 206.9 kB / 1.489 GB, free: 7.305 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002176/1.004, allocations: 349.9 kB / 1.489 GB, free: 6.957 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008409/1.004, allocations: 386.4 kB / 1.489 GB, free: 6.578 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009889/1.005, allocations: 0.5007 MB / 1.49 GB, free: 6.055 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/1.007, allocations: 0.8641 MB / 1.491 GB, free: 5.172 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/1.007, allocations: 4 kB / 1.491 GB, free: 5.168 MB / 1.186 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002976/1.01, allocations: 1.169 MB / 1.492 GB, free: 3.992 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/1.01, allocations: 10.34 kB / 1.492 GB, free: 3.984 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/1.01, allocations: 0 / 1.492 GB, free: 3.984 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006482/1.011, allocations: 84.86 kB / 1.492 GB, free: 3.898 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/1.012, allocations: 231.7 kB / 1.492 GB, free: 3.672 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/1.015, allocations: 1.66 MB / 1.494 GB, free: 1.867 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/1.016, allocations: 127.2 kB / 1.494 GB, free: 1.742 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/1.016, allocations: 48.03 kB / 1.494 GB, free: 1.695 MB / 1.186 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.0008808/1.017, allocations: 327.3 kB / 1.494 GB, free: 1.367 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003518/1.017, allocations: 127.3 kB / 1.494 GB, free: 1.242 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003304/1.021, allocations: 1.509 MB / 1.496 GB, free: 15.7 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/1.021, allocations: 12 kB / 1.496 GB, free: 15.69 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/1.021, allocations: 0 / 1.496 GB, free: 15.69 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/1.021, allocations: 3.984 kB / 1.496 GB, free: 15.69 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 postOpt removeSimpleEquations (simulation): time 0.005237/1.026, allocations: 2.847 MB / 1.499 GB, free: 12.74 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/1.026, allocations: 4 kB / 1.499 GB, free: 12.73 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009666/1.027, allocations: 195.7 kB / 1.499 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004683/1.027, allocations: 80.97 kB / 1.499 GB, free: 12.46 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.88e-05/1.027, allocations: 27.98 kB / 1.499 GB, free: 12.43 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/1.029, allocations: 1.682 MB / 1.501 GB, free: 10.61 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.029, allocations: 7.938 kB / 1.501 GB, free: 10.6 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003877/1.033, allocations: 1.87 MB / 1.502 GB, free: 8.691 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007613/1.034, allocations: 348 kB / 1.503 GB, free: 8.332 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/1.034, allocations: 24 kB / 1.503 GB, free: 8.309 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009165/1.035, allocations: 75.92 kB / 1.503 GB, free: 8.234 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/1.035, allocations: 88.81 kB / 1.503 GB, free: 8.148 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.716e-05/1.035, allocations: 47.97 kB / 1.503 GB, free: 8.102 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009233/1.036, allocations: 0.6222 MB / 1.504 GB, free: 7.469 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/1.036, allocations: 0 / 1.504 GB, free: 7.469 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001221/1.038, allocations: 466.9 kB / 1.504 GB, free: 7.012 MB / 1.201 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.00225/1.04, allocations: 0.7091 MB / 1.505 GB, free: 6.496 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002439/1.042, allocations: 1.054 MB / 1.506 GB, free: 5.43 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/1.042, allocations: 11.94 kB / 1.506 GB, free: 5.418 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/1.044, allocations: 0.6293 MB / 1.506 GB, free: 4.773 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/1.046, allocations: 0.5284 MB / 1.507 GB, free: 4.273 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004521/1.051, allocations: 2.428 MB / 1.509 GB, free: 1.797 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/1.052, allocations: 1.158 MB / 1.51 GB, free: 0.6094 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001581/1.053, allocations: 365.7 kB / 1.511 GB, free: 256 kB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/1.054, allocations: 143.4 kB / 1.511 GB, free: 112 kB / 1.201 GB Notification: Performance of SimCode: time 1.302e-06/1.054, allocations: 0 / 1.511 GB, free: 112 kB / 1.201 GB Notification: Performance of Templates: time 0.04517/1.099, allocations: 24.46 MB / 1.535 GB, free: 7.953 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.548891113139689]