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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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=5000,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=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001283, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.686/2.686, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.000308, allocations: 8.5 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.256, allocations: 159.6 MB / 1.058 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1566/0.4126, allocations: 160.4 MB / 1.215 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01258/0.4252, allocations: 10.14 MB / 1.225 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000927/0.4261, allocations: 31.81 kB / 1.225 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008774/0.427, allocations: 285.8 kB / 1.225 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00226/0.4293, allocations: 0.8844 MB / 1.226 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003204/0.4325, allocations: 1.263 MB / 1.227 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002403/0.4349, allocations: 2.361 MB / 1.229 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.4363, allocations: 1.007 MB / 1.23 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/0.4381, allocations: 0.9649 MB / 1.231 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007818/0.4389, allocations: 0.6572 MB / 1.232 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.439, allocations: 44 kB / 1.232 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.4409, allocations: 0.893 MB / 1.233 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003155/0.4412, allocations: 314.8 kB / 1.233 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000273/0.4415, allocations: 285 kB / 1.233 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.4433, allocations: 1.789 MB / 1.235 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4433, allocations: 0 / 1.235 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4433, allocations: 0 / 1.235 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.92e-05/0.4433, allocations: 0 / 1.235 GB, free: 15.49 MB / 0.9981 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.002653/0.446, allocations: 1.603 MB / 1.237 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.446, allocations: 8.031 kB / 1.237 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/0.4481, allocations: 365.8 kB / 1.237 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.4494, allocations: 0.9141 MB / 1.238 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.197e-05/0.4495, allocations: 90.33 kB / 1.238 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.4497, allocations: 120 kB / 1.238 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.4518, allocations: 1.291 MB / 1.239 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.4518, allocations: 0 / 1.239 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.452, allocations: 51.98 kB / 1.239 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.452, allocations: 31.95 kB / 1.239 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/0.4543, allocations: 1.453 MB / 1.241 GB, free: 9.398 MB / 0.9981 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.005595/0.4599, allocations: 4.091 MB / 1.245 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.462, allocations: 1.215 MB / 1.246 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007495/0.4628, allocations: 452.8 kB / 1.246 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000718/0.4635, allocations: 445.2 kB / 1.247 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/0.4646, allocations: 0.6567 MB / 1.247 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=106): time 2.655e-06/0.4647, allocations: 0 / 1.247 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106): time 0.003915/0.4686, allocations: 1.618 MB / 1.249 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.4687, allocations: 196.9 kB / 1.249 GB, free: 364 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5214/0.9901, allocations: 0.8643 MB / 1.25 GB, free: 23.69 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002369/0.9904, allocations: 48.05 kB / 1.25 GB, free: 23.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004226/0.9908, allocations: 0.5131 MB / 1.251 GB, free: 23.56 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/0.9911, allocations: 357.2 kB / 1.251 GB, free: 23.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/0.9912, allocations: 21.81 kB / 1.251 GB, free: 23.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.329e-05/0.9912, allocations: 346.9 kB / 1.251 GB, free: 23.04 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007943/0.992, allocations: 380.1 kB / 1.252 GB, free: 23.04 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008712/0.9929, allocations: 0.5078 MB / 1.252 GB, free: 22.96 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000845/0.9938, allocations: 439.6 kB / 1.253 GB, free: 22.96 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.9938, allocations: 1 kB / 1.253 GB, free: 22.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002494/0.9963, allocations: 1.167 MB / 1.254 GB, free: 22.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.9963, allocations: 5.438 kB / 1.254 GB, free: 22.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.9963, allocations: 2.656 kB / 1.254 GB, free: 22.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005436/0.9969, allocations: 86.34 kB / 1.254 GB, free: 22.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009571/0.9979, allocations: 237.4 kB / 1.254 GB, free: 22.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.9996, allocations: 1.539 MB / 1.256 GB, free: 21.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009399/1.001, allocations: 149.2 kB / 1.256 GB, free: 21.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.469e-05/1.001, allocations: 51.67 kB / 1.256 GB, free: 21.52 MB / 0.9981 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005191/1.001, allocations: 323.8 kB / 1.256 GB, free: 21.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/1.001, allocations: 118 kB / 1.256 GB, free: 21.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002724/1.004, allocations: 1.522 MB / 1.258 GB, free: 21.22 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/1.004, allocations: 10.31 kB / 1.258 GB, free: 21.22 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/1.004, allocations: 0 / 1.258 GB, free: 21.22 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/1.004, allocations: 9.625 kB / 1.258 GB, free: 21.22 MB / 0.9981 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.004202/1.008, allocations: 2.841 MB / 1.26 GB, free: 20.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/1.008, allocations: 3.094 kB / 1.26 GB, free: 20.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008645/1.009, allocations: 205.3 kB / 1.261 GB, free: 20.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004558/1.01, allocations: 85.81 kB / 1.261 GB, free: 20.62 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.662e-05/1.01, allocations: 33.3 kB / 1.261 GB, free: 20.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/1.011, allocations: 1.557 MB / 1.262 GB, free: 19.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.011, allocations: 7.516 kB / 1.262 GB, free: 19.33 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003127/1.014, allocations: 1.86 MB / 1.264 GB, free: 19.03 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005398/1.015, allocations: 362 kB / 1.264 GB, free: 18.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/1.015, allocations: 28.52 kB / 1.265 GB, free: 18.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008777/1.016, allocations: 112.1 kB / 1.265 GB, free: 18.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/1.016, allocations: 87.73 kB / 1.265 GB, free: 18.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.153e-05/1.016, allocations: 48.95 kB / 1.265 GB, free: 18.84 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007967/1.017, allocations: 0.6136 MB / 1.265 GB, free: 18.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.017, allocations: 3.828 kB / 1.265 GB, free: 18.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001306/1.018, allocations: 465.7 kB / 1.266 GB, free: 18.69 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001566/1.02, allocations: 0.6918 MB / 1.266 GB, free: 18.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002316/1.022, allocations: 1.095 MB / 1.268 GB, free: 18.37 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.022, allocations: 5.531 kB / 1.268 GB, free: 18.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/1.024, allocations: 0.6579 MB / 1.268 GB, free: 18.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/1.026, allocations: 494.6 kB / 1.269 GB, free: 18.21 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/1.03, allocations: 2.967 MB / 1.272 GB, free: 16.76 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009137/1.031, allocations: 1.16 MB / 1.273 GB, free: 16.04 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00159/1.033, allocations: 370 kB / 1.273 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/1.033, allocations: 137.2 kB / 1.273 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.033, allocations: 0 / 1.273 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of Templates: time 0.03806/1.071, allocations: 22.08 MB / 1.295 GB, free: 14.41 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) 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) Reference file matches