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.00146/0.00146, 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.001805/0.001806, allocations: 194.8 kB / 16.14 MB, free: 6.719 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.671/2.671, allocations: 461.9 MB / 0.7342 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 68.62 kB / 0.8984 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3061, allocations: 157.4 MB / 1.052 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1602/0.4664, allocations: 152.2 MB / 1.201 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01555/0.482, allocations: 10.6 MB / 1.211 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.4833, allocations: 19.88 kB / 1.211 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.4848, allocations: 230.5 kB / 1.211 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004365/0.4892, allocations: 0.824 MB / 1.212 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003398/0.4926, allocations: 0.9496 MB / 1.213 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002717/0.4953, allocations: 1.702 MB / 1.215 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.4972, allocations: 1.051 MB / 1.216 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00233/0.4995, allocations: 0.6172 MB / 1.216 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009077/0.5005, allocations: 0.5911 MB / 1.217 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002872/0.5008, allocations: 64 kB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.5028, allocations: 0.9711 MB / 1.218 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003401/0.5032, allocations: 306.9 kB / 1.218 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007287/0.5039, allocations: 0.5982 MB / 1.219 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00254/0.5065, allocations: 2.123 MB / 1.221 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5065, allocations: 3.938 kB / 1.221 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5065, allocations: 0 / 1.221 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.5065, allocations: 0 / 1.221 GB, free: 11.3 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.00324/0.5098, allocations: 1.707 MB / 1.223 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.5098, allocations: 12.03 kB / 1.223 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.5115, allocations: 270.1 kB / 1.223 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.5128, allocations: 0.8784 MB / 1.224 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.536e-05/0.5129, allocations: 77.98 kB / 1.224 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.5131, allocations: 96 kB / 1.224 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.5151, allocations: 1.117 MB / 1.225 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.5151, allocations: 4 kB / 1.225 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.5152, allocations: 40 kB / 1.225 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.5152, allocations: 24 kB / 1.225 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/0.5175, allocations: 1.319 MB / 1.226 GB, free: 5.621 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.005541/0.523, allocations: 3.437 MB / 1.23 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002/0.525, allocations: 1.102 MB / 1.231 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007848/0.5258, allocations: 428 kB / 1.231 GB, free: 488 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002641/0.5261, allocations: 130 kB / 1.231 GB, free: 336 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0012/0.5273, allocations: 0.6256 MB / 1.232 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=95): time 2.876e-06/0.5273, allocations: 0 / 1.232 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95): time 0.004246/0.5316, allocations: 1.627 MB / 1.233 GB, free: 14 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.5317, allocations: 196.9 kB / 1.234 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.5328, allocations: 0.8095 MB / 1.234 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.405e-05/0.5329, allocations: 45.7 kB / 1.234 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003799/0.5332, allocations: 464.4 kB / 1.235 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002895/0.5335, allocations: 307.6 kB / 1.235 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002933/0.5338, allocations: 186.4 kB / 1.235 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.534, allocations: 341.9 kB / 1.236 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007274/0.5347, allocations: 357.8 kB / 1.236 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008408/0.5356, allocations: 473.6 kB / 1.237 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.5371, allocations: 0.7882 MB / 1.237 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5371, allocations: 0 / 1.237 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002589/0.5397, allocations: 1.088 MB / 1.238 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.5397, allocations: 9.562 kB / 1.238 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.5397, allocations: 0 / 1.238 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00078/0.5405, allocations: 113.7 kB / 1.238 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009252/0.5414, allocations: 207.7 kB / 1.239 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/0.5447, allocations: 2.864 MB / 1.241 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.5459, allocations: 119.1 kB / 1.242 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.546, allocations: 40.03 kB / 1.242 GB, free: 5.254 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.0007003/0.5467, allocations: 315.5 kB / 1.242 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003275/0.5471, allocations: 98.78 kB / 1.242 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003264/0.5503, allocations: 1.314 MB / 1.243 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.906e-05/0.5504, allocations: 12 kB / 1.243 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5504, allocations: 0 / 1.243 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.5504, allocations: 7.969 kB / 1.243 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004708/0.5551, allocations: 2.422 MB / 1.246 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.5551, allocations: 0 / 1.246 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008816/0.556, allocations: 187.7 kB / 1.246 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007183/0.5568, allocations: 113.6 kB / 1.246 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.5569, allocations: 31.97 kB / 1.246 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5589/1.116, allocations: 2.871 MB / 1.249 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.116, allocations: 0.5625 kB / 1.249 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003531/1.119, allocations: 1.233 MB / 1.25 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006586/1.12, allocations: 316.9 kB / 1.25 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/1.12, allocations: 27.22 kB / 1.25 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.121, allocations: 83.38 kB / 1.25 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002314/1.122, allocations: 89.55 kB / 1.25 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/1.122, allocations: 44.52 kB / 1.251 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009707/1.123, allocations: 0.5685 MB / 1.251 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.123, allocations: 0 / 1.251 GB, free: 190.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001454/1.124, allocations: 454.7 kB / 1.252 GB, free: 190.5 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.001848/1.126, allocations: 0.7077 MB / 1.252 GB, free: 190.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002094/1.128, allocations: 1.143 MB / 1.253 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.128, allocations: 0 / 1.253 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001124/1.129, allocations: 0.7413 MB / 1.254 GB, free: 189.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/1.131, allocations: 337.1 kB / 1.254 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003978/1.135, allocations: 2.506 MB / 1.257 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006947/1.136, allocations: 1.111 MB / 1.258 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00135/1.137, allocations: 306.5 kB / 1.258 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004317/1.137, allocations: 120.8 kB / 1.258 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.052e-06/1.137, allocations: 0 / 1.258 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.04312/1.181, allocations: 19.2 MB / 1.277 GB, free: 183.1 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