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.001659/0.00166, allocations: 103.3 kB / 16.35 MB, free: 5.824 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.001873/0.001874, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.446/2.446, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 62.81 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3054, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.6496/0.955, allocations: 176.5 MB / 1.199 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01525/0.9703, allocations: 10.9 MB / 1.21 GB, free: 13.4 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.9717, allocations: 32.5 kB / 1.21 GB, free: 13.39 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.9729, allocations: 410.5 kB / 1.21 GB, free: 13.04 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.976, allocations: 1.105 MB / 1.211 GB, free: 12.19 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00388/0.9799, allocations: 1.705 MB / 1.213 GB, free: 10.91 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002663/0.9826, allocations: 2.377 MB / 1.215 GB, free: 9.48 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001779/0.9844, allocations: 1.405 MB / 1.217 GB, free: 8.574 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002977/0.9874, allocations: 1.266 MB / 1.218 GB, free: 7.824 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.9884, allocations: 0.807 MB / 1.219 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.9886, allocations: 156.5 kB / 1.219 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003149/0.9918, allocations: 1.415 MB / 1.22 GB, free: 6.578 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004853/0.9923, allocations: 444.5 kB / 1.221 GB, free: 6.246 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000949/0.9933, allocations: 0.7839 MB / 1.221 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007106/1, allocations: 2.583 MB / 1.224 GB, free: 3.547 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/1, allocations: 0 / 1.224 GB, free: 3.547 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.054e-06/1, allocations: 0 / 1.224 GB, free: 3.547 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.036e-05/1, allocations: 7.938 kB / 1.224 GB, free: 3.539 MB / 0.92 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.004078/1.005, allocations: 1.884 MB / 1.226 GB, free: 1.598 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/1.005, allocations: 11.97 kB / 1.226 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002129/1.007, allocations: 353.9 kB / 1.226 GB, free: 1.238 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/1.008, allocations: 0.9875 MB / 1.227 GB, free: 208 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.379e-05/1.009, allocations: 86.33 kB / 1.227 GB, free: 120 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/1.009, allocations: 116 kB / 1.227 GB, free: 4 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/1.011, allocations: 1.306 MB / 1.229 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/1.011, allocations: 0 / 1.229 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/1.011, allocations: 48 kB / 1.229 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/1.011, allocations: 28 kB / 1.229 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/1.013, allocations: 1.453 MB / 1.23 GB, free: 13.1 MB / 0.9356 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.00626/1.02, allocations: 4.034 MB / 1.234 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/1.022, allocations: 1.207 MB / 1.235 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007512/1.023, allocations: 452.5 kB / 1.236 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007461/1.023, allocations: 429.3 kB / 1.236 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001127/1.024, allocations: 0.6528 MB / 1.237 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=106): time 3.056e-06/1.024, allocations: 0 / 1.237 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of matching and sorting (n=106): time 0.004001/1.028, allocations: 1.606 MB / 1.238 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/1.029, allocations: 196.9 kB / 1.238 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/1.03, allocations: 0.8785 MB / 1.239 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.656e-05/1.03, allocations: 53.69 kB / 1.239 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004062/1.03, allocations: 0.516 MB / 1.24 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/1.031, allocations: 354.9 kB / 1.24 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003178/1.031, allocations: 206.8 kB / 1.24 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.031, allocations: 349.9 kB / 1.241 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007257/1.032, allocations: 386.3 kB / 1.241 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008659/1.033, allocations: 0.5085 MB / 1.241 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/1.034, allocations: 0.868 MB / 1.242 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.034, allocations: 4 kB / 1.242 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002529/1.037, allocations: 1.161 MB / 1.243 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/1.037, allocations: 8 kB / 1.243 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/1.037, allocations: 0 / 1.243 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005967/1.037, allocations: 88.86 kB / 1.244 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/1.038, allocations: 227.7 kB / 1.244 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/1.04, allocations: 1.654 MB / 1.245 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009765/1.041, allocations: 123 kB / 1.246 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/1.042, allocations: 43.97 kB / 1.246 GB, free: 12.5 MB / 0.9512 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.0005749/1.042, allocations: 336 kB / 1.246 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/1.042, allocations: 118.5 kB / 1.246 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003024/1.045, allocations: 1.513 MB / 1.247 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/1.045, allocations: 12 kB / 1.247 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/1.045, allocations: 0 / 1.247 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/1.045, allocations: 3.984 kB / 1.247 GB, free: 10.49 MB / 0.9512 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.004708/1.05, allocations: 2.843 MB / 1.25 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/1.05, allocations: 0 / 1.25 GB, free: 7.535 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000931/1.051, allocations: 207.9 kB / 1.25 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004418/1.052, allocations: 68.78 kB / 1.251 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-05/1.052, allocations: 31.98 kB / 1.251 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/1.054, allocations: 1.682 MB / 1.252 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.054, allocations: 3.984 kB / 1.252 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003403/1.057, allocations: 1.866 MB / 1.254 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005965/1.058, allocations: 351.2 kB / 1.254 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/1.058, allocations: 24 kB / 1.254 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008865/1.059, allocations: 71.92 kB / 1.254 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/1.059, allocations: 88.81 kB / 1.255 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.63e-05/1.059, allocations: 51.97 kB / 1.255 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008317/1.06, allocations: 0.6261 MB / 1.255 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/1.06, allocations: 0 / 1.255 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00118/1.061, allocations: 459 kB / 1.256 GB, free: 1.82 MB / 0.9512 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.001607/1.063, allocations: 0.7117 MB / 1.256 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002201/1.065, allocations: 1.101 MB / 1.257 GB, free: 184 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/1.065, allocations: 4 kB / 1.257 GB, free: 180 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/1.066, allocations: 0.6529 MB / 1.258 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/1.068, allocations: 0.531 MB / 1.259 GB, free: 15 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/1.072, allocations: 2.373 MB / 1.261 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007139/1.073, allocations: 1.158 MB / 1.262 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001145/1.074, allocations: 373.7 kB / 1.262 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003487/1.074, allocations: 135.4 kB / 1.263 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of SimCode: time 6.52e-07/1.074, allocations: 0 / 1.263 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of Templates: time 0.03878/1.113, allocations: 23.81 MB / 1.286 GB, free: 3.375 MB / 0.9825 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches