Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001852/0.001852, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.002087/0.002087, allocations: 169.6 kB / 22.76 MB, free: 1.664 MB / 18.57 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.602/1.602, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.351/3.351, allocations: 429.5 MB / 0.6729 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.8774 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.604e-05, allocations: 4.703 kB / 0.8774 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2521/0.2521, allocations: 172.7 MB / 1.046 GB, free: 9.344 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.477/0.7291, allocations: 11.15 MB / 1.057 GB, free: 47.69 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.7304, allocations: 40.62 kB / 1.057 GB, free: 47.69 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.7317, allocations: 436.4 kB / 1.057 GB, free: 47.69 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003072/0.7347, allocations: 1.145 MB / 1.059 GB, free: 47.69 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003773/0.7385, allocations: 1.78 MB / 1.06 GB, free: 47.68 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.00261/0.7411, allocations: 2.442 MB / 1.063 GB, free: 47.68 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.7426, allocations: 1.087 MB / 1.064 GB, free: 47.59 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00434/0.7469, allocations: 1.907 MB / 1.066 GB, free: 47.56 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009066/0.7478, allocations: 0.672 MB / 1.066 GB, free: 47.49 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002193/0.748, allocations: 162.3 kB / 1.066 GB, free: 47.49 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002376/0.7504, allocations: 1.292 MB / 1.068 GB, free: 47.4 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003314/0.7507, allocations: 486.2 kB / 1.068 GB, free: 47.33 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005774/0.7513, allocations: 0.5524 MB / 1.069 GB, free: 47.27 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003305/0.7546, allocations: 2.794 MB / 1.071 GB, free: 47 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.7546, allocations: 0.75 kB / 1.071 GB, free: 47 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7546, allocations: 0 / 1.071 GB, free: 47 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.205e-05/0.7546, allocations: 0 / 1.071 GB, free: 47 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.00303/0.7577, allocations: 2.105 MB / 1.073 GB, free: 45.96 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.7577, allocations: 13.22 kB / 1.074 GB, free: 45.96 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002728/0.7604, allocations: 0.5585 MB / 1.074 GB, free: 45.8 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.762, allocations: 0.9519 MB / 1.075 GB, free: 45.51 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.441e-05/0.7621, allocations: 98.58 kB / 1.075 GB, free: 45.5 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.7622, allocations: 130 kB / 1.075 GB, free: 45.5 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.7642, allocations: 1.668 MB / 1.077 GB, free: 44.82 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.7642, allocations: 6.469 kB / 1.077 GB, free: 44.82 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.7643, allocations: 52.19 kB / 1.077 GB, free: 44.82 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.7643, allocations: 29.16 kB / 1.077 GB, free: 44.82 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.7662, allocations: 1.262 MB / 1.078 GB, free: 44.8 MB / 1.01 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.005843/0.7721, allocations: 3.956 MB / 1.082 GB, free: 43.55 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.7738, allocations: 0.9766 MB / 1.083 GB, free: 43.5 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005949/0.7744, allocations: 369.5 kB / 1.083 GB, free: 43.49 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005593/0.775, allocations: 116.4 kB / 1.083 GB, free: 43.49 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/0.776, allocations: 0.8861 MB / 1.084 GB, free: 43.12 MB / 1.01 GB Notification: Performance of pre-optimization done (n=114): time 3.386e-06/0.776, allocations: 3.094 kB / 1.084 GB, free: 43.12 MB / 1.01 GB Notification: Performance of matching and sorting (n=114): time 0.003708/0.7797, allocations: 1.399 MB / 1.086 GB, free: 42.99 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.7798, allocations: 199.1 kB / 1.086 GB, free: 42.77 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.7808, allocations: 0.9296 MB / 1.087 GB, free: 42.58 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 9.602e-05/0.7809, allocations: 54.05 kB / 1.087 GB, free: 42.55 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.7813, allocations: 0.6258 MB / 1.087 GB, free: 42.25 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/0.7815, allocations: 422.5 kB / 1.088 GB, free: 42 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003736/0.7819, allocations: 270.6 kB / 1.088 GB, free: 41.97 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.7821, allocations: 0.5554 MB / 1.089 GB, free: 41.49 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007404/0.7828, allocations: 331.6 kB / 1.089 GB, free: 41.48 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009328/0.7837, allocations: 0.6882 MB / 1.09 GB, free: 41.16 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.7852, allocations: 0.806 MB / 1.09 GB, free: 41.06 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.7852, allocations: 0.75 kB / 1.09 GB, free: 41.06 MB / 1.01 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002614/0.7878, allocations: 1.14 MB / 1.092 GB, free: 40.93 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.7878, allocations: 6.438 kB / 1.092 GB, free: 40.93 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.7878, allocations: 2.156 kB / 1.092 GB, free: 40.93 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009446/0.7888, allocations: 140.6 kB / 1.092 GB, free: 40.92 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.7898, allocations: 248.8 kB / 1.092 GB, free: 40.92 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.7919, allocations: 2.057 MB / 1.094 GB, free: 39.16 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009813/0.7929, allocations: 100.4 kB / 1.094 GB, free: 39.11 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.793, allocations: 50.22 kB / 1.094 GB, free: 39.11 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (141): * Single equations (assignments): 140 * 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.0006058/0.7936, allocations: 327 kB / 1.094 GB, free: 38.95 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003029/0.7939, allocations: 154.5 kB / 1.095 GB, free: 38.88 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003082/0.797, allocations: 1.483 MB / 1.096 GB, free: 38.73 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.797, allocations: 15.66 kB / 1.096 GB, free: 38.73 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.797, allocations: 0.9375 kB / 1.096 GB, free: 38.73 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.797, allocations: 6.234 kB / 1.096 GB, free: 38.73 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005146/0.8022, allocations: 2.613 MB / 1.099 GB, free: 38.21 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.8022, allocations: 0.9375 kB / 1.099 GB, free: 38.21 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009086/0.8031, allocations: 198.9 kB / 1.099 GB, free: 38.21 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000781/0.8039, allocations: 130 kB / 1.099 GB, free: 38.2 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.518e-05/0.804, allocations: 35.17 kB / 1.099 GB, free: 38.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/0.8058, allocations: 2.081 MB / 1.101 GB, free: 36.43 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.8058, allocations: 6.062 kB / 1.101 GB, free: 36.43 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003622/0.8094, allocations: 1.75 MB / 1.103 GB, free: 36.05 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006442/0.81, allocations: 262.5 kB / 1.103 GB, free: 35.98 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.8102, allocations: 30.39 kB / 1.103 GB, free: 35.98 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007506/0.811, allocations: 61.84 kB / 1.103 GB, free: 35.98 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.8112, allocations: 92.7 kB / 1.103 GB, free: 35.98 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.8113, allocations: 46.23 kB / 1.103 GB, free: 35.98 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007772/0.8121, allocations: 0.5951 MB / 1.104 GB, free: 35.84 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.8121, allocations: 0 / 1.104 GB, free: 35.84 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00141/0.8135, allocations: 496.1 kB / 1.104 GB, free: 35.75 MB / 1.01 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: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003602/0.8171, allocations: 0.7622 MB / 1.105 GB, free: 35.54 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002334/0.8194, allocations: 1.096 MB / 1.106 GB, free: 35.32 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.8194, allocations: 2.156 kB / 1.106 GB, free: 35.32 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.8206, allocations: 0.6861 MB / 1.107 GB, free: 35.13 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/0.8227, allocations: 470.6 kB / 1.107 GB, free: 35.08 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/0.8273, allocations: 2.346 MB / 1.109 GB, free: 34.07 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006866/0.8279, allocations: 0.5667 MB / 1.11 GB, free: 33.95 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001302/0.8293, allocations: 333 kB / 1.11 GB, free: 33.89 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003822/0.8296, allocations: 137.5 kB / 1.11 GB, free: 33.88 MB / 1.01 GB Notification: Performance of SimCode: time 1.583e-06/0.8296, allocations: 0 / 1.11 GB, free: 33.88 MB / 1.01 GB Notification: Performance of Templates: time 0.04121/0.8708, allocations: 22.49 MB / 1.132 GB, free: 31.45 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.761116020963527]