Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009974/0.0009975, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.008114/0.008114, allocations: 173.9 kB / 16.27 MB, free: 6.676 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.4/1.4, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 437.8 MB / 0.7121 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003291, allocations: 8 kB / 0.8728 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6858/0.6861, allocations: 153.8 MB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1913/0.8775, allocations: 163.9 MB / 1.183 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02268/0.9003, allocations: 17.16 MB / 1.2 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.9021, allocations: 23.81 kB / 1.2 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.9038, allocations: 489 kB / 1.2 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005219/0.909, allocations: 1.586 MB / 1.202 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003765/0.9128, allocations: 1.268 MB / 1.203 GB, free: 6.742 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004388/0.9172, allocations: 3.089 MB / 1.206 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002724/0.92, allocations: 1.66 MB / 1.208 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00541/0.9254, allocations: 1.116 MB / 1.209 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001785/0.9272, allocations: 0.9019 MB / 1.21 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002831/0.9275, allocations: 52 kB / 1.21 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003505/0.931, allocations: 1.505 MB / 1.211 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006665/0.9317, allocations: 0.5877 MB / 1.212 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001335/0.9331, allocations: 1.011 MB / 1.213 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005179/0.9382, allocations: 3.391 MB / 1.216 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.9383, allocations: 0 / 1.216 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.755e-06/0.9383, allocations: 0 / 1.216 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.286e-05/0.9384, allocations: 4 kB / 1.216 GB, free: 9.363 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005043/0.9434, allocations: 2.297 MB / 1.218 GB, free: 7 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.625e-05/0.9435, allocations: 8.031 kB / 1.218 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004171/0.9477, allocations: 0.5708 MB / 1.219 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002644/0.9503, allocations: 1.591 MB / 1.22 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.9505, allocations: 131.4 kB / 1.221 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002237/0.9507, allocations: 164 kB / 1.221 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003615/0.9543, allocations: 1.948 MB / 1.223 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.9544, allocations: 4 kB / 1.223 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/0.9545, allocations: 83.97 kB / 1.223 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-05/0.9546, allocations: 40 kB / 1.223 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003684/0.9583, allocations: 2.093 MB / 1.225 GB, free: 268 kB / 0.9669 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.01079/0.9691, allocations: 6.102 MB / 1.231 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003353/0.9725, allocations: 2.105 MB / 1.233 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/0.9737, allocations: 0.753 MB / 1.234 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000627/0.9744, allocations: 433.6 kB / 1.234 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001774/0.9762, allocations: 1.026 MB / 1.235 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 2.765e-06/0.9762, allocations: 0 / 1.235 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.006963/0.9831, allocations: 2.965 MB / 1.238 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.9833, allocations: 205.2 kB / 1.238 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002713/0.9861, allocations: 1.787 MB / 1.24 GB, free: 208 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002807/0.9863, allocations: 57.7 kB / 1.24 GB, free: 144 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008532/0.9872, allocations: 0.835 MB / 1.241 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005002/0.9877, allocations: 481 kB / 1.241 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.9879, allocations: 109.7 kB / 1.241 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.9881, allocations: 357.9 kB / 1.242 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.9892, allocations: 0.596 MB / 1.242 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.9905, allocations: 0.8013 MB / 1.243 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002354/0.9929, allocations: 1.345 MB / 1.244 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.9929, allocations: 0 / 1.244 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004103/0.997, allocations: 1.823 MB / 1.246 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.9971, allocations: 7.938 kB / 1.246 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.9971, allocations: 4 kB / 1.246 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.9982, allocations: 216.2 kB / 1.246 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.9998, allocations: 331.5 kB / 1.247 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005975/1.006, allocations: 6.811 MB / 1.253 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/1.008, allocations: 198 kB / 1.253 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/1.008, allocations: 51.95 kB / 1.253 GB, free: 1.41 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 (152): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001108/1.009, allocations: 0.4901 MB / 1.254 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/1.01, allocations: 181.8 kB / 1.254 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5762/1.586, allocations: 2.124 MB / 1.256 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.61e-05/1.586, allocations: 16.31 kB / 1.256 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/1.586, allocations: 1.406 kB / 1.256 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/1.586, allocations: 10.36 kB / 1.256 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008499/1.594, allocations: 3.984 MB / 1.26 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/1.594, allocations: 0 / 1.26 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/1.596, allocations: 325.6 kB / 1.26 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001/1.597, allocations: 214.1 kB / 1.261 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/1.597, allocations: 41.42 kB / 1.261 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004647/1.602, allocations: 6.843 MB / 1.267 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.602, allocations: 0.5156 kB / 1.267 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00455/1.606, allocations: 1.995 MB / 1.269 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009941/1.607, allocations: 490.1 kB / 1.27 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/1.608, allocations: 32.73 kB / 1.27 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/1.609, allocations: 147.4 kB / 1.27 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003602/1.609, allocations: 112.7 kB / 1.27 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/1.61, allocations: 69.81 kB / 1.27 GB, free: 218.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002389/1.612, allocations: 1.282 MB / 1.271 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/1.612, allocations: 0 / 1.271 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001983/1.614, allocations: 0.6862 MB / 1.272 GB, free: 218 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.001714/1.616, allocations: 0.7435 MB / 1.273 GB, free: 217.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003346/1.619, allocations: 2.092 MB / 1.275 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/1.619, allocations: 2.781 kB / 1.275 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001946/1.621, allocations: 1.422 MB / 1.276 GB, free: 215.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/1.624, allocations: 0.5107 MB / 1.277 GB, free: 215.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006265/1.63, allocations: 4.611 MB / 1.281 GB, free: 213.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/1.631, allocations: 1.531 MB / 1.283 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002076/1.633, allocations: 0.499 MB / 1.283 GB, free: 212.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004878/1.634, allocations: 171.5 kB / 1.283 GB, free: 212.3 MB / 0.9981 GB Notification: Performance of SimCode: time 7.42e-07/1.634, allocations: 0 / 1.283 GB, free: 212.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.04469/1.678, allocations: 30.33 MB / 1.313 GB, free: 188.9 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches