Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001373/0.001373, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.807/2.807, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 65.02 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3402, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.172/0.5123, allocations: 152.2 MB / 1.216 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01424/0.5265, allocations: 10.59 MB / 1.227 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009859/0.5276, allocations: 23.88 kB / 1.227 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009327/0.5286, allocations: 230.4 kB / 1.227 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002455/0.531, allocations: 0.8184 MB / 1.228 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.5335, allocations: 0.9547 MB / 1.228 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001844/0.5353, allocations: 1.701 MB / 1.23 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001348/0.5367, allocations: 1.051 MB / 1.231 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001939/0.5386, allocations: 0.6271 MB / 1.232 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006204/0.5393, allocations: 0.5872 MB / 1.232 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.5394, allocations: 67.94 kB / 1.232 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.5413, allocations: 0.9633 MB / 1.233 GB, free: 428 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000291/0.5416, allocations: 314.8 kB / 1.234 GB, free: 112 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005931/0.5422, allocations: 0.5983 MB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002378/0.5446, allocations: 2.123 MB / 1.236 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5446, allocations: 4 kB / 1.236 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5446, allocations: 0 / 1.236 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.262e-05/0.5446, allocations: 0 / 1.236 GB, free: 13.38 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003253/0.5479, allocations: 1.707 MB / 1.238 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.5479, allocations: 15.97 kB / 1.238 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.5497, allocations: 270.1 kB / 1.238 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.551, allocations: 0.8821 MB / 1.239 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.508e-05/0.5511, allocations: 78 kB / 1.239 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.5512, allocations: 96 kB / 1.239 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.5532, allocations: 1.102 MB / 1.24 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.5532, allocations: 8 kB / 1.24 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-05/0.5533, allocations: 40 kB / 1.24 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.5534, allocations: 24 kB / 1.24 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002244/0.5556, allocations: 1.327 MB / 1.242 GB, free: 7.695 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.006708/0.5623, allocations: 3.426 MB / 1.245 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.5645, allocations: 1.111 MB / 1.246 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007777/0.5653, allocations: 424 kB / 1.247 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002497/0.5656, allocations: 138 kB / 1.247 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/0.5667, allocations: 0.6254 MB / 1.247 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 2.605e-06/0.5668, allocations: 0 / 1.247 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.00437/0.5711, allocations: 1.627 MB / 1.249 GB, free: 88 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.5848/1.156, allocations: 196.9 kB / 1.249 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/1.158, allocations: 0.8006 MB / 1.25 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002958/1.158, allocations: 47.03 kB / 1.25 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004388/1.158, allocations: 465.6 kB / 1.25 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000294/1.159, allocations: 311.6 kB / 1.251 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003492/1.159, allocations: 186 kB / 1.251 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001066/1.159, allocations: 339.3 kB / 1.251 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009043/1.16, allocations: 354.5 kB / 1.252 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000983/1.161, allocations: 475.3 kB / 1.252 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/1.163, allocations: 0.7896 MB / 1.253 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.163, allocations: 1.719 kB / 1.253 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002939/1.166, allocations: 1.087 MB / 1.254 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/1.166, allocations: 5.562 kB / 1.254 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.166, allocations: 0.9688 kB / 1.254 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008388/1.167, allocations: 117.3 kB / 1.254 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/1.168, allocations: 213.7 kB / 1.254 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/1.171, allocations: 2.859 MB / 1.257 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/1.172, allocations: 116.8 kB / 1.257 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/1.172, allocations: 43.27 kB / 1.257 GB, free: 181.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006777/1.173, allocations: 302.2 kB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002853/1.173, allocations: 104.3 kB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002932/1.176, allocations: 1.316 MB / 1.259 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/1.176, allocations: 9.938 kB / 1.259 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/1.176, allocations: 7.625 kB / 1.259 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/1.176, allocations: 6.859 kB / 1.259 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003834/1.18, allocations: 2.416 MB / 1.261 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.18, allocations: 0 / 1.261 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008149/1.181, allocations: 190.4 kB / 1.261 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006905/1.181, allocations: 122.6 kB / 1.261 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.955e-05/1.181, allocations: 30.69 kB / 1.261 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/1.184, allocations: 2.873 MB / 1.264 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.184, allocations: 3.641 kB / 1.264 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002768/1.187, allocations: 1.232 MB / 1.265 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005161/1.187, allocations: 313.8 kB / 1.266 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/1.187, allocations: 26.09 kB / 1.266 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008728/1.188, allocations: 83.64 kB / 1.266 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/1.188, allocations: 79.05 kB / 1.266 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/1.188, allocations: 52.64 kB / 1.266 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007874/1.189, allocations: 0.568 MB / 1.267 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/1.189, allocations: 0 / 1.267 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001429/1.191, allocations: 450.7 kB / 1.267 GB, free: 175.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001755/1.192, allocations: 0.721 MB / 1.268 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002605/1.195, allocations: 1.145 MB / 1.269 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.195, allocations: 0 / 1.269 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/1.196, allocations: 0.7383 MB / 1.27 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/1.198, allocations: 324.9 kB / 1.27 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004395/1.203, allocations: 2.503 MB / 1.272 GB, free: 173 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007541/1.204, allocations: 1.107 MB / 1.273 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001384/1.205, allocations: 317.8 kB / 1.274 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003876/1.205, allocations: 121.6 kB / 1.274 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/1.205, allocations: 0 / 1.274 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.03901/1.244, allocations: 19.19 MB / 1.293 GB, free: 165.9 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches