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.001571/0.001571, allocations: 110.5 kB / 15.99 MB, free: 6.348 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.001741/0.001741, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.332/1.332, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.627/2.627, allocations: 469.4 MB / 0.7423 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001504, allocations: 66.7 kB / 0.9083 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3261, allocations: 159.1 MB / 1.064 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.764/1.09, allocations: 174.1 MB / 1.234 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01516/1.105, allocations: 10.78 MB / 1.244 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001911/1.107, allocations: 27.81 kB / 1.244 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/1.109, allocations: 341.8 kB / 1.245 GB, free: 320 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003867/1.113, allocations: 0.9895 MB / 1.246 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00434/1.117, allocations: 1.561 MB / 1.247 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003261/1.12, allocations: 2.377 MB / 1.249 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002455/1.123, allocations: 1.398 MB / 1.251 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00465/1.128, allocations: 1.267 MB / 1.252 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/1.129, allocations: 0.8247 MB / 1.253 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005347/1.13, allocations: 160 kB / 1.253 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003102/1.133, allocations: 1.415 MB / 1.254 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007399/1.134, allocations: 458.6 kB / 1.255 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001257/1.135, allocations: 0.7852 MB / 1.256 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003012/1.138, allocations: 1.91 MB / 1.257 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.138, allocations: 0 / 1.257 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.314e-06/1.138, allocations: 0 / 1.257 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.086e-05/1.138, allocations: 0 / 1.257 GB, free: 3.145 MB / 0.9669 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.003456/1.141, allocations: 1.882 MB / 1.259 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/1.141, allocations: 8.625 kB / 1.259 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002181/1.144, allocations: 349.9 kB / 1.26 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/1.145, allocations: 0.9563 MB / 1.261 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.746e-05/1.145, allocations: 86.33 kB / 1.261 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/1.146, allocations: 116 kB / 1.261 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/1.148, allocations: 1.302 MB / 1.262 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/1.148, allocations: 4 kB / 1.262 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/1.148, allocations: 48 kB / 1.262 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/1.148, allocations: 28 kB / 1.262 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/1.151, allocations: 1.453 MB / 1.264 GB, free: 12.74 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.006864/1.158, allocations: 4.053 MB / 1.268 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/1.16, allocations: 1.214 MB / 1.269 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000777/1.161, allocations: 457.1 kB / 1.269 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007843/1.162, allocations: 425.3 kB / 1.27 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/1.163, allocations: 0.6644 MB / 1.27 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=106): time 3.176e-06/1.163, allocations: 0 / 1.27 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106): time 0.004155/1.167, allocations: 1.606 MB / 1.272 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/1.167, allocations: 196.9 kB / 1.272 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/1.168, allocations: 0.8824 MB / 1.273 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/1.168, allocations: 45.7 kB / 1.273 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004328/1.169, allocations: 0.5121 MB / 1.273 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/1.169, allocations: 354.9 kB / 1.274 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003585/1.17, allocations: 214.7 kB / 1.274 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001158/1.17, allocations: 345.9 kB / 1.274 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007377/1.171, allocations: 382.4 kB / 1.275 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000874/1.171, allocations: 0.5046 MB / 1.275 GB, free: 476 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/1.173, allocations: 0.8757 MB / 1.276 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.173, allocations: 0 / 1.276 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00264/1.176, allocations: 1.157 MB / 1.277 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/1.176, allocations: 12.14 kB / 1.277 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.176, allocations: 8.875 kB / 1.277 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006375/1.176, allocations: 84.77 kB / 1.277 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000995/1.177, allocations: 231.7 kB / 1.277 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/1.18, allocations: 1.654 MB / 1.279 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/1.181, allocations: 136.7 kB / 1.279 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/1.181, allocations: 55.95 kB / 1.279 GB, free: 12.08 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.0006782/1.182, allocations: 317.3 kB / 1.279 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003498/1.182, allocations: 118.5 kB / 1.28 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003217/1.185, allocations: 1.513 MB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/1.185, allocations: 12 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.185, allocations: 0 / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/1.185, allocations: 3.984 kB / 1.281 GB, free: 10.1 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.005101/1.19, allocations: 2.838 MB / 1.284 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/1.19, allocations: 4 kB / 1.284 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009264/1.191, allocations: 203.9 kB / 1.284 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004676/1.192, allocations: 72.78 kB / 1.284 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-05/1.192, allocations: 35.98 kB / 1.284 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/1.194, allocations: 1.678 MB / 1.286 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/1.194, allocations: 4 kB / 1.286 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003641/1.197, allocations: 1.868 MB / 1.288 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006724/1.198, allocations: 343.3 kB / 1.288 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002935/1.198, allocations: 24 kB / 1.288 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/1.199, allocations: 83.91 kB / 1.288 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/1.2, allocations: 92.75 kB / 1.288 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/1.2, allocations: 51.97 kB / 1.288 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009457/1.201, allocations: 0.6222 MB / 1.289 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.201, allocations: 3.938 kB / 1.289 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00139/1.202, allocations: 463 kB / 1.289 GB, free: 1.418 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 (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.001788/1.204, allocations: 0.7036 MB / 1.29 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003325/1.207, allocations: 1.363 MB / 1.291 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.207, allocations: 4 kB / 1.291 GB, free: 15.51 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/1.209, allocations: 0.6523 MB / 1.292 GB, free: 14.85 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/1.211, allocations: 0.5362 MB / 1.292 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004722/1.216, allocations: 2.976 MB / 1.295 GB, free: 11.31 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000865/1.217, allocations: 1.158 MB / 1.296 GB, free: 10.12 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005174/1.217, allocations: 155.4 kB / 1.297 GB, free: 9.973 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/1.217, allocations: 0 / 1.297 GB, free: 9.973 MB / 1.014 GB Notification: Performance of Templates: time 0.03868/1.256, allocations: 26.84 MB / 1.323 GB, free: 15.25 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