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.001583/0.001583, allocations: 81.06 kB / 19.18 MB, free: 2.527 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.001771/0.001771, allocations: 167.7 kB / 22.46 MB, free: 5.359 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.461/1.461, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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 2.89/2.89, allocations: 389 MB / 0.633 GB, free: 1.023 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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 2.395e-06/2.395e-06, allocations: 0 / 1 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.458e-05/3.697e-05, allocations: 9.734 kB / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.8255/0.8256, allocations: 155.7 MB / 1.152 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0118/0.8374, allocations: 10.29 MB / 1.162 GB, free: 44.93 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.8384, allocations: 44.22 kB / 1.162 GB, free: 44.93 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.8396, allocations: 432 kB / 1.163 GB, free: 44.92 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003621/0.8432, allocations: 1.142 MB / 1.164 GB, free: 44.89 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003873/0.8471, allocations: 1.786 MB / 1.166 GB, free: 44.83 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002562/0.8497, allocations: 2.442 MB / 1.168 GB, free: 44.47 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.851, allocations: 1.059 MB / 1.169 GB, free: 44.36 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003914/0.8549, allocations: 1.842 MB / 1.171 GB, free: 44.2 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008507/0.8558, allocations: 0.6807 MB / 1.171 GB, free: 44.12 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.856, allocations: 163.7 kB / 1.172 GB, free: 44.12 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002426/0.8584, allocations: 1.286 MB / 1.173 GB, free: 44.03 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003336/0.8587, allocations: 489.6 kB / 1.173 GB, free: 43.96 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005597/0.8593, allocations: 0.548 MB / 1.174 GB, free: 43.89 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004118/0.8634, allocations: 2.793 MB / 1.177 GB, free: 43.63 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8634, allocations: 0.5 kB / 1.177 GB, free: 43.63 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8634, allocations: 0.5 kB / 1.177 GB, free: 43.63 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.107e-05/0.8634, allocations: 0.9688 kB / 1.177 GB, free: 43.63 MB / 1.076 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.003714/0.8672, allocations: 1.888 MB / 1.178 GB, free: 42.68 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.8672, allocations: 9.812 kB / 1.178 GB, free: 42.68 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002824/0.87, allocations: 406.8 kB / 1.179 GB, free: 42.6 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.8718, allocations: 0.926 MB / 1.18 GB, free: 42.3 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.874e-05/0.8718, allocations: 92.97 kB / 1.18 GB, free: 42.3 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.872, allocations: 123.8 kB / 1.18 GB, free: 42.3 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.8746, allocations: 1.7 MB / 1.182 GB, free: 41.65 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/0.8746, allocations: 3.938 kB / 1.182 GB, free: 41.65 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.8748, allocations: 54.89 kB / 1.182 GB, free: 41.65 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.721e-05/0.8748, allocations: 29.62 kB / 1.182 GB, free: 41.65 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002651/0.8775, allocations: 1.408 MB / 1.183 GB, free: 41.63 MB / 1.076 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.006292/0.8837, allocations: 3.001 MB / 1.186 GB, free: 40.85 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/0.886, allocations: 1.118 MB / 1.187 GB, free: 40.8 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008042/0.8868, allocations: 439.9 kB / 1.187 GB, free: 40.78 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006447/0.8875, allocations: 116.7 kB / 1.188 GB, free: 40.78 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/0.8887, allocations: 0.9012 MB / 1.188 GB, free: 40.29 MB / 1.076 GB Notification: Performance of pre-optimization done (n=114): time 3.426e-06/0.8887, allocations: 1.062 kB / 1.188 GB, free: 40.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=114): time 0.004376/0.8931, allocations: 1.564 MB / 1.19 GB, free: 39.74 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/0.8932, allocations: 203.8 kB / 1.19 GB, free: 39.52 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.8943, allocations: 0.7459 MB / 1.191 GB, free: 39.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.8944, allocations: 56.47 kB / 1.191 GB, free: 39.15 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.8947, allocations: 0.5366 MB / 1.191 GB, free: 38.73 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000262/0.895, allocations: 387.3 kB / 1.192 GB, free: 38.43 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003616/0.8954, allocations: 228.2 kB / 1.192 GB, free: 38.33 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.109e-05/0.8954, allocations: 354.2 kB / 1.192 GB, free: 38 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007808/0.8962, allocations: 407.3 kB / 1.193 GB, free: 37.86 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009579/0.8972, allocations: 0.7173 MB / 1.194 GB, free: 37.41 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.8988, allocations: 0.9103 MB / 1.194 GB, free: 36.99 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.8988, allocations: 2.484 kB / 1.194 GB, free: 36.99 MB / 1.076 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002742/0.9016, allocations: 1.238 MB / 1.196 GB, free: 36.52 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.9016, allocations: 5.938 kB / 1.196 GB, free: 36.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.9016, allocations: 3.297 kB / 1.196 GB, free: 36.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006467/0.9022, allocations: 91.75 kB / 1.196 GB, free: 36.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.9033, allocations: 236.8 kB / 1.196 GB, free: 36.49 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.9052, allocations: 1.52 MB / 1.197 GB, free: 35.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.9062, allocations: 114.7 kB / 1.198 GB, free: 35.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.9063, allocations: 53.98 kB / 1.198 GB, free: 35.05 MB / 1.076 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.0006933/0.907, allocations: 336.4 kB / 1.198 GB, free: 34.84 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.9073, allocations: 112.1 kB / 1.198 GB, free: 34.78 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00315/0.9104, allocations: 1.528 MB / 1.199 GB, free: 34.18 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/0.9104, allocations: 12.61 kB / 1.2 GB, free: 34.18 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.9104, allocations: 2 kB / 1.2 GB, free: 34.18 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/0.9105, allocations: 13.55 kB / 1.2 GB, free: 34.18 MB / 1.076 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.004975/0.9154, allocations: 2.521 MB / 1.202 GB, free: 33.03 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.9154, allocations: 2.281 kB / 1.202 GB, free: 33.03 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009251/0.9164, allocations: 201.2 kB / 1.202 GB, free: 33.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004562/0.9168, allocations: 74.8 kB / 1.202 GB, free: 33.01 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.288e-05/0.9169, allocations: 43.48 kB / 1.202 GB, free: 32.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.9185, allocations: 1.538 MB / 1.204 GB, free: 31.6 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.9185, allocations: 4.547 kB / 1.204 GB, free: 31.6 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003665/0.9222, allocations: 1.895 MB / 1.206 GB, free: 30.76 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005894/0.9227, allocations: 257.8 kB / 1.206 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.9229, allocations: 36 kB / 1.206 GB, free: 30.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009011/0.9238, allocations: 74.8 kB / 1.206 GB, free: 30.58 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/0.9241, allocations: 95.61 kB / 1.206 GB, free: 30.56 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.9242, allocations: 52.36 kB / 1.206 GB, free: 30.55 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007807/0.9249, allocations: 0.5291 MB / 1.207 GB, free: 30.32 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9249, allocations: 0.6562 kB / 1.207 GB, free: 30.32 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001619/0.9266, allocations: 491.2 kB / 1.207 GB, free: 30.19 MB / 1.076 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.002432/0.929, allocations: 0.7602 MB / 1.208 GB, free: 29.95 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002495/0.9315, allocations: 1.1 MB / 1.209 GB, free: 29.54 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.9315, allocations: 4.047 kB / 1.209 GB, free: 29.54 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.9327, allocations: 0.6365 MB / 1.21 GB, free: 29.29 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/0.9348, allocations: 422.7 kB / 1.21 GB, free: 29.16 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004504/0.9393, allocations: 2.363 MB / 1.212 GB, free: 27.95 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007596/0.9401, allocations: 0.5805 MB / 1.213 GB, free: 27.8 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001374/0.9415, allocations: 355.9 kB / 1.213 GB, free: 27.7 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004198/0.9419, allocations: 133.2 kB / 1.213 GB, free: 27.68 MB / 1.076 GB Notification: Performance of SimCode: time 9.22e-07/0.9419, allocations: 0 / 1.213 GB, free: 27.68 MB / 1.076 GB Notification: Performance of Templates: time 0.04198/0.9839, allocations: 22.27 MB / 1.235 GB, free: 25.05 MB / 1.076 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 800] 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.410185616463423]