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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001138/0.001138, allocations: 103 kB / 16.27 MB, free: 6.031 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.001168/0.001168, allocations: 190.1 kB / 17.19 MB, free: 5.668 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.307/1.307, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.588/2.588, allocations: 469.4 MB / 0.7427 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 64.22 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3279, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.7329/1.061, allocations: 176.5 MB / 1.237 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01474/1.076, allocations: 10.91 MB / 1.247 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001946/1.078, allocations: 31.81 kB / 1.247 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001486/1.079, allocations: 412.7 kB / 1.248 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003788/1.083, allocations: 1.097 MB / 1.249 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004362/1.087, allocations: 1.707 MB / 1.25 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003072/1.09, allocations: 2.361 MB / 1.253 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002142/1.093, allocations: 1.405 MB / 1.254 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003465/1.096, allocations: 1.269 MB / 1.255 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/1.097, allocations: 0.7974 MB / 1.256 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000246/1.097, allocations: 156 kB / 1.256 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002898/1.1, allocations: 1.38 MB / 1.258 GB, free: 3 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004066/1.101, allocations: 458.6 kB / 1.258 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008421/1.102, allocations: 0.7814 MB / 1.259 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003711/1.105, allocations: 2.528 MB / 1.261 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.105, allocations: 4 kB / 1.261 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/1.105, allocations: 7.875 kB / 1.261 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.479e-05/1.105, allocations: 0 / 1.261 GB, free: 15.22 MB / 0.9825 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.003428/1.109, allocations: 1.873 MB / 1.263 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.109, allocations: 12.62 kB / 1.263 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002151/1.111, allocations: 353.8 kB / 1.263 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/1.113, allocations: 0.9485 MB / 1.264 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.7e-05/1.113, allocations: 90.27 kB / 1.264 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/1.113, allocations: 119.9 kB / 1.265 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/1.115, allocations: 1.298 MB / 1.266 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/1.115, allocations: 7.984 kB / 1.266 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/1.115, allocations: 48 kB / 1.266 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/1.115, allocations: 28 kB / 1.266 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/1.118, allocations: 1.457 MB / 1.267 GB, free: 8.816 MB / 0.9825 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.006147/1.124, allocations: 4.065 MB / 1.271 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002154/1.126, allocations: 1.218 MB / 1.273 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007644/1.127, allocations: 448.6 kB / 1.273 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007576/1.127, allocations: 429.3 kB / 1.273 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00115/1.129, allocations: 0.6635 MB / 1.274 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=106): time 4.749e-06/1.129, allocations: 0 / 1.274 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106): time 0.004088/1.133, allocations: 1.606 MB / 1.276 GB, free: 64 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/1.133, allocations: 193 kB / 1.276 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/1.134, allocations: 0.8823 MB / 1.277 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/1.134, allocations: 45.7 kB / 1.277 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004132/1.135, allocations: 0.516 MB / 1.277 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000334/1.135, allocations: 362.8 kB / 1.278 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003532/1.135, allocations: 218.7 kB / 1.278 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001659/1.135, allocations: 341.9 kB / 1.278 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008125/1.136, allocations: 384.5 kB / 1.278 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009266/1.137, allocations: 0.5085 MB / 1.279 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/1.139, allocations: 0.864 MB / 1.28 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/1.139, allocations: 0 / 1.28 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002768/1.142, allocations: 1.172 MB / 1.281 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/1.142, allocations: 5.875 kB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/1.142, allocations: 4 kB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006406/1.142, allocations: 84.86 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/1.143, allocations: 235.7 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/1.146, allocations: 1.635 MB / 1.283 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/1.147, allocations: 122.9 kB / 1.283 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/1.147, allocations: 51.97 kB / 1.283 GB, free: 8.18 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 (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.0007108/1.148, allocations: 335.5 kB / 1.283 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002821/1.148, allocations: 122.5 kB / 1.283 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003066/1.151, allocations: 1.506 MB / 1.285 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/1.151, allocations: 12 kB / 1.285 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.151, allocations: 0 / 1.285 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/1.151, allocations: 7.969 kB / 1.285 GB, free: 6.18 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.004886/1.156, allocations: 2.826 MB / 1.288 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/1.156, allocations: 4 kB / 1.288 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000955/1.157, allocations: 207.6 kB / 1.288 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004739/1.157, allocations: 72.98 kB / 1.288 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.961e-05/1.158, allocations: 35.97 kB / 1.288 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/1.16, allocations: 1.682 MB / 1.29 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/1.16, allocations: 7.938 kB / 1.29 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003777/1.164, allocations: 1.868 MB / 1.291 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007618/1.164, allocations: 339.3 kB / 1.292 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/1.164, allocations: 28 kB / 1.292 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008889/1.165, allocations: 71.92 kB / 1.292 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/1.166, allocations: 88.81 kB / 1.292 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/1.166, allocations: 47.97 kB / 1.292 GB, free: 14.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001012/1.167, allocations: 0.6261 MB / 1.293 GB, free: 13.96 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.51e-07/1.167, allocations: 0 / 1.293 GB, free: 13.96 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001655/1.168, allocations: 467 kB / 1.293 GB, free: 13.51 MB / 1.014 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.001766/1.17, allocations: 0.7032 MB / 1.294 GB, free: 12.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003363/1.174, allocations: 1.367 MB / 1.295 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/1.174, allocations: 0 / 1.295 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/1.175, allocations: 0.6529 MB / 1.296 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/1.177, allocations: 0.5359 MB / 1.296 GB, free: 10.44 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004441/1.182, allocations: 2.461 MB / 1.299 GB, free: 7.914 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007658/1.183, allocations: 1.159 MB / 1.3 GB, free: 6.727 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005106/1.183, allocations: 155.4 kB / 1.3 GB, free: 6.578 MB / 1.014 GB Notification: Performance of SimCode: time 1.373e-06/1.183, allocations: 0 / 1.3 GB, free: 6.578 MB / 1.014 GB Notification: Performance of Templates: time 0.03785/1.221, allocations: 26.84 MB / 1.326 GB, free: 11.86 MB / 1.045 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/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