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 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_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.001094/0.001094, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00116/0.00116, allocations: 188.6 kB / 16.25 MB, free: 6.637 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.369/1.369, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.714/2.714, allocations: 461.8 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 65.05 kB / 0.8986 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3253, allocations: 157.4 MB / 1.052 GB, free: 8.789 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1574/0.4828, allocations: 152.4 MB / 1.201 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01295/0.4957, allocations: 10.42 MB / 1.211 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008057/0.4966, allocations: 23.88 kB / 1.211 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008681/0.4975, allocations: 230.5 kB / 1.211 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002829/0.5003, allocations: 0.8667 MB / 1.212 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002546/0.5029, allocations: 0.9782 MB / 1.213 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001829/0.5047, allocations: 1.717 MB / 1.215 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/0.5062, allocations: 1.154 MB / 1.216 GB, free: 428 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002126/0.5084, allocations: 0.7183 MB / 1.217 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007885/0.5092, allocations: 0.6263 MB / 1.217 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002559/0.5095, allocations: 135.9 kB / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001881/0.5113, allocations: 1.014 MB / 1.218 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003604/0.5117, allocations: 382.9 kB / 1.219 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006447/0.5124, allocations: 0.6685 MB / 1.22 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002781/0.5152, allocations: 2.185 MB / 1.222 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5152, allocations: 0 / 1.222 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5152, allocations: 0 / 1.222 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.628e-05/0.5152, allocations: 0 / 1.222 GB, free: 10.7 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002961/0.5182, allocations: 1.711 MB / 1.223 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.5182, allocations: 12.02 kB / 1.223 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.52, allocations: 270.1 kB / 1.224 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/0.5213, allocations: 0.8707 MB / 1.224 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.894e-05/0.5214, allocations: 77.98 kB / 1.225 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.5216, allocations: 92 kB / 1.225 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.5237, allocations: 1.106 MB / 1.226 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.5237, allocations: 7.922 kB / 1.226 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.5238, allocations: 48 kB / 1.226 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.5238, allocations: 20 kB / 1.226 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002292/0.5261, allocations: 1.315 MB / 1.227 GB, free: 5.035 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.005334/0.5315, allocations: 3.431 MB / 1.23 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/0.5336, allocations: 1.102 MB / 1.231 GB, free: 320 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008259/0.5344, allocations: 428 kB / 1.232 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002552/0.5347, allocations: 130.1 kB / 1.232 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001178/0.5359, allocations: 0.6255 MB / 1.233 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 2.565e-06/0.5359, allocations: 0 / 1.233 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.004319/0.5402, allocations: 1.631 MB / 1.234 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.97e-05/0.5403, allocations: 192.9 kB / 1.234 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.5414, allocations: 0.8095 MB / 1.235 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.897e-05/0.5415, allocations: 49.64 kB / 1.235 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/0.5418, allocations: 460.5 kB / 1.236 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.5421, allocations: 311.6 kB / 1.236 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002986/0.5424, allocations: 190.4 kB / 1.236 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.5426, allocations: 345.9 kB / 1.236 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000734/0.5433, allocations: 349.8 kB / 1.237 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008419/0.5442, allocations: 477.6 kB / 1.237 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.5457, allocations: 0.7843 MB / 1.238 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.5457, allocations: 3.938 kB / 1.238 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002591/0.5483, allocations: 1.091 MB / 1.239 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.5483, allocations: 5.562 kB / 1.239 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.5484, allocations: 0 / 1.239 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007834/0.5492, allocations: 113.7 kB / 1.239 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009789/0.5501, allocations: 211.7 kB / 1.239 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003177/0.5533, allocations: 3.073 MB / 1.242 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.5543, allocations: 119.2 kB / 1.243 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.895e-05/0.5545, allocations: 43.97 kB / 1.243 GB, free: 4.434 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.0005358/0.555, allocations: 312.8 kB / 1.243 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.5552, allocations: 98.78 kB / 1.243 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00309/0.5583, allocations: 1.322 MB / 1.244 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.5583, allocations: 12 kB / 1.244 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.5583, allocations: 0 / 1.244 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.5584, allocations: 3.984 kB / 1.244 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004302/0.5627, allocations: 2.415 MB / 1.247 GB, free: 200 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.5627, allocations: 8 kB / 1.247 GB, free: 192 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008464/0.5635, allocations: 183.8 kB / 1.247 GB, free: 8 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5367/1.1, allocations: 98.62 kB / 1.247 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002569/1.101, allocations: 32.48 kB / 1.247 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/1.103, allocations: 3.092 MB / 1.25 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.103, allocations: 0 / 1.25 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00296/1.106, allocations: 1.231 MB / 1.251 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004985/1.107, allocations: 315.8 kB / 1.251 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/1.107, allocations: 27.61 kB / 1.251 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008718/1.108, allocations: 93.22 kB / 1.252 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/1.108, allocations: 88.53 kB / 1.252 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/1.108, allocations: 40.84 kB / 1.252 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007358/1.109, allocations: 0.5715 MB / 1.252 GB, free: 190 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.109, allocations: 0 / 1.252 GB, free: 190 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001193/1.11, allocations: 455.8 kB / 1.253 GB, free: 190 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.001563/1.112, allocations: 0.7139 MB / 1.253 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002981/1.115, allocations: 1.389 MB / 1.255 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.115, allocations: 0 / 1.255 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/1.116, allocations: 0.7442 MB / 1.255 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/1.117, allocations: 368.5 kB / 1.256 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003408/1.121, allocations: 2.51 MB / 1.258 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/1.121, allocations: 1.103 MB / 1.259 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001083/1.122, allocations: 311.8 kB / 1.26 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/1.123, allocations: 123.1 kB / 1.26 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/1.123, allocations: 3.625 kB / 1.26 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03813/1.161, allocations: 19.83 MB / 1.279 GB, free: 182.2 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