Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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_CpLowRise,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_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,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_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001954/0.001954, 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.002411/0.002411, allocations: 192.2 kB / 16.25 MB, free: 6.633 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.543/1.543, allocations: 222.9 MB / 239.9 MB, free: 4.504 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.787/2.787, allocations: 437 MB / 0.7101 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 64.14 kB / 0.8687 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7683/0.7704, allocations: 151.6 MB / 1.017 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2145/0.9849, allocations: 166 MB / 1.179 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0258/1.011, allocations: 16.87 MB / 1.195 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003052/1.014, allocations: 27.81 kB / 1.195 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002928/1.017, allocations: 473.1 kB / 1.196 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006202/1.023, allocations: 1.47 MB / 1.197 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004104/1.027, allocations: 1.206 MB / 1.198 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004981/1.032, allocations: 2.7 MB / 1.201 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0032/1.036, allocations: 1.878 MB / 1.203 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006449/1.042, allocations: 1.354 MB / 1.204 GB, free: 2.172 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/1.044, allocations: 1.011 MB / 1.205 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004518/1.044, allocations: 208 kB / 1.205 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003159/1.048, allocations: 1.427 MB / 1.207 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000658/1.048, allocations: 0.5569 MB / 1.207 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001862/1.05, allocations: 1.038 MB / 1.208 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.006553/1.057, allocations: 3.116 MB / 1.211 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/1.057, allocations: 0 / 1.211 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.655e-06/1.057, allocations: 0 / 1.211 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.997e-05/1.057, allocations: 0 / 1.211 GB, free: 10.8 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.005656/1.062, allocations: 2.283 MB / 1.214 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/1.063, allocations: 12.03 kB / 1.214 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004137/1.067, allocations: 0.5089 MB / 1.214 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002569/1.069, allocations: 1.078 MB / 1.215 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/1.069, allocations: 127.4 kB / 1.215 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002611/1.07, allocations: 168 kB / 1.216 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003934/1.074, allocations: 1.843 MB / 1.217 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.786e-05/1.074, allocations: 0 / 1.217 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/1.074, allocations: 79.94 kB / 1.217 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.854e-05/1.074, allocations: 40 kB / 1.217 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003864/1.078, allocations: 1.878 MB / 1.219 GB, free: 2.621 MB / 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.01059/1.088, allocations: 5.538 MB / 1.225 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0035/1.092, allocations: 1.777 MB / 1.226 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/1.093, allocations: 0.6553 MB / 1.227 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/1.094, allocations: 0.8038 MB / 1.228 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001826/1.096, allocations: 0.8918 MB / 1.229 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=146): time 3.376e-06/1.096, allocations: 0 / 1.229 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=146): time 0.006965/1.103, allocations: 2.552 MB / 1.231 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/1.103, allocations: 205.2 kB / 1.231 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/1.105, allocations: 0.8345 MB / 1.232 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001996/1.105, allocations: 53.7 kB / 1.232 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/1.106, allocations: 0.6407 MB / 1.233 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007063/1.107, allocations: 492.8 kB / 1.233 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005521/1.108, allocations: 250.8 kB / 1.234 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002658/1.108, allocations: 357.9 kB / 1.234 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/1.109, allocations: 498.3 kB / 1.234 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/1.11, allocations: 0.6385 MB / 1.235 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002662/1.113, allocations: 1.118 MB / 1.236 GB, free: 500 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/1.113, allocations: 4 kB / 1.236 GB, free: 496 kB / 0.9825 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004088/1.117, allocations: 1.554 MB / 1.238 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/1.117, allocations: 4 kB / 1.238 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.117, allocations: 0 / 1.238 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/1.118, allocations: 196.2 kB / 1.238 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/1.12, allocations: 331.6 kB / 1.238 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007968/1.128, allocations: 7.288 MB / 1.245 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/1.13, allocations: 174.7 kB / 1.245 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000344/1.13, allocations: 59.95 kB / 1.246 GB, free: 6.145 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 (156): * Single equations (assignments): 151 * 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.001373/1.131, allocations: 382.6 kB / 1.246 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005976/1.132, allocations: 126.5 kB / 1.246 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005172/1.137, allocations: 1.85 MB / 1.248 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/1.137, allocations: 12 kB / 1.248 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/1.137, allocations: 4 kB / 1.248 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/1.137, allocations: 7.969 kB / 1.248 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00811/1.145, allocations: 3.439 MB / 1.251 GB, free: 232 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.146, allocations: 4 kB / 1.251 GB, free: 228 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.5962/1.742, allocations: 307.2 kB / 1.251 GB, free: 230.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009337/1.743, allocations: 181 kB / 1.252 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002774/1.743, allocations: 43.02 kB / 1.252 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004574/1.748, allocations: 7.322 MB / 1.259 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.748, allocations: 0 / 1.259 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004215/1.752, allocations: 1.707 MB / 1.261 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007822/1.753, allocations: 403.5 kB / 1.261 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/1.753, allocations: 32.52 kB / 1.261 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/1.754, allocations: 126.6 kB / 1.261 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003069/1.754, allocations: 115.5 kB / 1.261 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/1.755, allocations: 73.42 kB / 1.261 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008792/1.756, allocations: 0.5798 MB / 1.262 GB, free: 223 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/1.756, allocations: 0 / 1.262 GB, free: 223 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001753/1.757, allocations: 0.603 MB / 1.262 GB, free: 222.9 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.002311/1.76, allocations: 0.7307 MB / 1.263 GB, free: 222.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005461/1.765, allocations: 2.304 MB / 1.265 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.765, allocations: 2.969 kB / 1.265 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002097/1.767, allocations: 1.302 MB / 1.267 GB, free: 220.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002825/1.77, allocations: 0.5238 MB / 1.267 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006554/1.777, allocations: 3.562 MB / 1.271 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/1.778, allocations: 1.295 MB / 1.272 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002215/1.78, allocations: 437.1 kB / 1.272 GB, free: 217.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004838/1.78, allocations: 155.5 kB / 1.272 GB, free: 217.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.132e-06/1.78, allocations: 0 / 1.272 GB, free: 217.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.0475/1.828, allocations: 27.6 MB / 1.299 GB, free: 202.2 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches