Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.006638/0.006638, allocations: 99.64 kB / 15.73 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.001566/0.001566, allocations: 189.7 kB / 16.67 MB, free: 5.965 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.584/2.584, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 58.75 kB / 0.9508 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2633, allocations: 140.4 MB / 1.088 GB, free: 1.562 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1649/0.4283, allocations: 154 MB / 1.238 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01434/0.4427, allocations: 10.49 MB / 1.249 GB, free: 12.4 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.4439, allocations: 19.88 kB / 1.249 GB, free: 12.38 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009625/0.4449, allocations: 265.8 kB / 1.249 GB, free: 12.12 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002686/0.4476, allocations: 0.9263 MB / 1.25 GB, free: 11.19 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.45, allocations: 1.081 MB / 1.251 GB, free: 10.12 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001563/0.4516, allocations: 1.64 MB / 1.252 GB, free: 8.477 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.4529, allocations: 1.188 MB / 1.254 GB, free: 7.266 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.4545, allocations: 0.7091 MB / 1.254 GB, free: 6.566 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006567/0.4551, allocations: 0.6029 MB / 1.255 GB, free: 5.961 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.4553, allocations: 136 kB / 1.255 GB, free: 5.828 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.4572, allocations: 1.034 MB / 1.256 GB, free: 4.793 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.4575, allocations: 382.9 kB / 1.256 GB, free: 4.418 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005565/0.458, allocations: 0.6529 MB / 1.257 GB, free: 3.762 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002633/0.4607, allocations: 2.181 MB / 1.259 GB, free: 1.574 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.4607, allocations: 0 / 1.259 GB, free: 1.574 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4607, allocations: 7.938 kB / 1.259 GB, free: 1.566 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.438e-05/0.4607, allocations: 0 / 1.259 GB, free: 1.566 MB / 1.014 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.5315/0.9922, allocations: 1.687 MB / 1.261 GB, free: 174.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.9923, allocations: 12.98 kB / 1.261 GB, free: 174.5 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.9941, allocations: 269 kB / 1.261 GB, free: 174.5 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.9955, allocations: 0.9071 MB / 1.262 GB, free: 174.1 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.935e-05/0.9956, allocations: 72.28 kB / 1.262 GB, free: 174.1 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.9957, allocations: 96.95 kB / 1.262 GB, free: 174.1 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.9979, allocations: 1.107 MB / 1.263 GB, free: 174 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.9979, allocations: 3.938 kB / 1.263 GB, free: 174 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.603e-05/0.998, allocations: 45.47 kB / 1.263 GB, free: 173.9 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.9981, allocations: 24 kB / 1.263 GB, free: 173.9 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002527/1.001, allocations: 1.321 MB / 1.265 GB, free: 173.6 MB / 1.014 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.004846/1.005, allocations: 3.183 MB / 1.268 GB, free: 171.9 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/1.008, allocations: 1.102 MB / 1.269 GB, free: 171.4 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008554/1.008, allocations: 423.4 kB / 1.269 GB, free: 171.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002734/1.009, allocations: 138.2 kB / 1.269 GB, free: 171.1 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/1.01, allocations: 0.6152 MB / 1.27 GB, free: 170.9 MB / 1.014 GB Notification: Performance of pre-optimization done (n=95): time 3.136e-06/1.01, allocations: 0 / 1.27 GB, free: 170.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=95): time 0.004662/1.015, allocations: 1.632 MB / 1.271 GB, free: 170.2 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/1.015, allocations: 195.8 kB / 1.272 GB, free: 170 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/1.016, allocations: 0.803 MB / 1.272 GB, free: 169.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/1.016, allocations: 48.2 kB / 1.272 GB, free: 169.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/1.017, allocations: 466.5 kB / 1.273 GB, free: 169.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/1.017, allocations: 310.4 kB / 1.273 GB, free: 169 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/1.017, allocations: 189.5 kB / 1.273 GB, free: 168.9 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 7.953e-05/1.018, allocations: 342 kB / 1.274 GB, free: 168.6 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007871/1.018, allocations: 354 kB / 1.274 GB, free: 168.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009/1.019, allocations: 474.9 kB / 1.274 GB, free: 168.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/1.021, allocations: 0.7916 MB / 1.275 GB, free: 168 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.021, allocations: 3.938 kB / 1.275 GB, free: 168 MB / 1.014 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002601/1.023, allocations: 1.083 MB / 1.276 GB, free: 167.5 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/1.024, allocations: 7.031 kB / 1.276 GB, free: 167.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/1.024, allocations: 2.203 kB / 1.276 GB, free: 167.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007207/1.024, allocations: 117.3 kB / 1.276 GB, free: 167.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009117/1.025, allocations: 209.9 kB / 1.277 GB, free: 167.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/1.028, allocations: 3.058 MB / 1.28 GB, free: 164.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009699/1.029, allocations: 114 kB / 1.28 GB, free: 164.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.402e-05/1.029, allocations: 45.98 kB / 1.28 GB, free: 164.5 MB / 1.014 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.0005426/1.03, allocations: 307.1 kB / 1.28 GB, free: 164.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/1.03, allocations: 103.5 kB / 1.28 GB, free: 164.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002911/1.033, allocations: 1.316 MB / 1.281 GB, free: 163.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/1.033, allocations: 10.78 kB / 1.281 GB, free: 163.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.033, allocations: 1.438 kB / 1.281 GB, free: 163.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/1.033, allocations: 5.672 kB / 1.281 GB, free: 163.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004241/1.037, allocations: 2.427 MB / 1.284 GB, free: 162.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/1.037, allocations: 0 / 1.284 GB, free: 162.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008559/1.038, allocations: 189.6 kB / 1.284 GB, free: 162.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005657/1.038, allocations: 103 kB / 1.284 GB, free: 162.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.646e-05/1.039, allocations: 31.61 kB / 1.284 GB, free: 162.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002408/1.041, allocations: 3.099 MB / 1.287 GB, free: 159.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.041, allocations: 0 / 1.287 GB, free: 159.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002812/1.044, allocations: 1.232 MB / 1.288 GB, free: 159 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005101/1.044, allocations: 310.2 kB / 1.289 GB, free: 158.8 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/1.044, allocations: 26.45 kB / 1.289 GB, free: 158.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008363/1.045, allocations: 77.33 kB / 1.289 GB, free: 158.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/1.046, allocations: 84.12 kB / 1.289 GB, free: 158.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/1.046, allocations: 47 kB / 1.289 GB, free: 158.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008407/1.047, allocations: 0.5697 MB / 1.289 GB, free: 158.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.31e-07/1.047, allocations: 0 / 1.289 GB, free: 158.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001354/1.048, allocations: 449.6 kB / 1.29 GB, free: 158.4 MB / 1.014 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.0018/1.05, allocations: 0.7101 MB / 1.291 GB, free: 158.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002343/1.052, allocations: 1.139 MB / 1.292 GB, free: 157.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.052, allocations: 0.9375 kB / 1.292 GB, free: 157.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/1.053, allocations: 0.7444 MB / 1.292 GB, free: 157.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/1.055, allocations: 345.5 kB / 1.293 GB, free: 157.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/1.06, allocations: 2.127 MB / 1.295 GB, free: 156.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008867/1.061, allocations: 1.108 MB / 1.296 GB, free: 155.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001178/1.062, allocations: 315.6 kB / 1.296 GB, free: 155.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003897/1.062, allocations: 118.1 kB / 1.296 GB, free: 155.3 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/1.062, allocations: 0 / 1.296 GB, free: 155.3 MB / 1.014 GB Notification: Performance of Templates: time 0.03173/1.094, allocations: 20.12 MB / 1.316 GB, free: 144 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches