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.001352/0.001352, allocations: 108.9 kB / 16.41 MB, free: 6.488 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.001275/0.001275, allocations: 187 kB / 17.34 MB, free: 5.73 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.377/2.377, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.89 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8028/0.8041, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.173/0.9772, allocations: 168.3 MB / 1.332 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02321/1, allocations: 17.07 MB / 1.348 GB, free: 9.805 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/1.002, allocations: 31.81 kB / 1.348 GB, free: 9.773 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002086/1.004, allocations: 0.5701 MB / 1.349 GB, free: 9.199 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005487/1.01, allocations: 1.637 MB / 1.351 GB, free: 7.559 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003672/1.014, allocations: 1.329 MB / 1.352 GB, free: 6.242 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003595/1.017, allocations: 2.707 MB / 1.354 GB, free: 3.527 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002939/1.02, allocations: 1.886 MB / 1.356 GB, free: 1.59 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004111/1.024, allocations: 1.385 MB / 1.358 GB, free: 252 kB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/1.026, allocations: 0.9882 MB / 1.359 GB, free: 15.25 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005894/1.027, allocations: 208 kB / 1.359 GB, free: 15.05 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003144/1.03, allocations: 1.423 MB / 1.36 GB, free: 13.62 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007374/1.031, allocations: 0.5608 MB / 1.361 GB, free: 13.06 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001858/1.032, allocations: 1.034 MB / 1.362 GB, free: 12.02 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005237/1.038, allocations: 3.111 MB / 1.365 GB, free: 8.902 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.038, allocations: 0 / 1.365 GB, free: 8.902 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.603e-06/1.038, allocations: 0 / 1.365 GB, free: 8.902 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.015e-05/1.038, allocations: 0 / 1.365 GB, free: 8.902 MB / 1.092 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.004915/1.043, allocations: 2.291 MB / 1.367 GB, free: 6.547 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/1.043, allocations: 8.031 kB / 1.367 GB, free: 6.539 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003875/1.047, allocations: 0.5088 MB / 1.368 GB, free: 6.027 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002636/1.049, allocations: 1.113 MB / 1.369 GB, free: 4.867 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/1.05, allocations: 131.4 kB / 1.369 GB, free: 4.738 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004279/1.05, allocations: 164 kB / 1.369 GB, free: 4.578 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004339/1.054, allocations: 1.851 MB / 1.371 GB, free: 2.676 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.849e-05/1.054, allocations: 0 / 1.371 GB, free: 2.676 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002454/1.055, allocations: 76 kB / 1.371 GB, free: 2.602 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.722e-05/1.055, allocations: 40 kB / 1.371 GB, free: 2.562 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003661/1.058, allocations: 1.871 MB / 1.373 GB, free: 0.6875 MB / 1.092 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.009175/1.068, allocations: 5.495 MB / 1.378 GB, free: 10.86 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00312/1.071, allocations: 1.775 MB / 1.38 GB, free: 9.008 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/1.072, allocations: 0.6593 MB / 1.38 GB, free: 8.348 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009105/1.073, allocations: 0.8038 MB / 1.381 GB, free: 7.379 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001663/1.075, allocations: 0.8957 MB / 1.382 GB, free: 6.461 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 4.319e-06/1.075, allocations: 0 / 1.382 GB, free: 6.461 MB / 1.107 GB Notification: Performance of matching and sorting (n=146): time 0.006338/1.081, allocations: 2.548 MB / 1.385 GB, free: 3.801 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/1.081, allocations: 209.2 kB / 1.385 GB, free: 3.555 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/1.082, allocations: 0.8344 MB / 1.386 GB, free: 2.695 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001752/1.083, allocations: 57.7 kB / 1.386 GB, free: 2.633 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005584/1.083, allocations: 0.6446 MB / 1.386 GB, free: 1.977 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004402/1.084, allocations: 484.9 kB / 1.387 GB, free: 1.496 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004373/1.084, allocations: 254.8 kB / 1.387 GB, free: 1.238 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.084, allocations: 353.9 kB / 1.387 GB, free: 0.8867 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/1.085, allocations: 0.4906 MB / 1.388 GB, free: 408 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/1.086, allocations: 0.6347 MB / 1.388 GB, free: 15.73 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0022/1.089, allocations: 1.118 MB / 1.389 GB, free: 14.6 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/1.089, allocations: 0 / 1.389 GB, free: 14.6 MB / 1.123 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003799/1.092, allocations: 1.554 MB / 1.391 GB, free: 13.02 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/1.092, allocations: 4 kB / 1.391 GB, free: 13.02 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.092, allocations: 0 / 1.391 GB, free: 13.02 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009635/1.093, allocations: 188.2 kB / 1.391 GB, free: 12.82 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/1.095, allocations: 351.5 kB / 1.392 GB, free: 12.48 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006231/1.101, allocations: 7.282 MB / 1.399 GB, free: 4.492 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/1.103, allocations: 150.9 kB / 1.399 GB, free: 4.344 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002783/1.103, allocations: 55.97 kB / 1.399 GB, free: 4.289 MB / 1.123 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.001052/1.104, allocations: 375.8 kB / 1.399 GB, free: 3.914 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004839/1.105, allocations: 130.7 kB / 1.399 GB, free: 3.785 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004461/1.109, allocations: 1.85 MB / 1.401 GB, free: 1.91 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/1.109, allocations: 15.94 kB / 1.401 GB, free: 1.895 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/1.109, allocations: 4 kB / 1.401 GB, free: 1.891 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/1.109, allocations: 7.969 kB / 1.401 GB, free: 1.883 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00719/1.116, allocations: 3.432 MB / 1.404 GB, free: 14.38 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/1.117, allocations: 3.984 kB / 1.404 GB, free: 14.37 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001466/1.118, allocations: 319.5 kB / 1.405 GB, free: 14.06 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007573/1.119, allocations: 176.2 kB / 1.405 GB, free: 13.87 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/1.119, allocations: 47.95 kB / 1.405 GB, free: 13.82 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005514/1.124, allocations: 7.322 MB / 1.412 GB, free: 5.797 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.124, allocations: 0 / 1.412 GB, free: 5.797 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004177/1.129, allocations: 1.709 MB / 1.414 GB, free: 4.051 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009196/1.13, allocations: 402.9 kB / 1.414 GB, free: 3.637 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002744/1.13, allocations: 28 kB / 1.414 GB, free: 3.609 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/1.131, allocations: 106.9 kB / 1.414 GB, free: 3.508 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/1.132, allocations: 113.1 kB / 1.414 GB, free: 3.398 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/1.132, allocations: 71.94 kB / 1.415 GB, free: 3.328 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008598/1.133, allocations: 0.5861 MB / 1.415 GB, free: 2.73 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.7e-07/1.133, allocations: 0 / 1.415 GB, free: 2.73 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001724/1.134, allocations: 0.5923 MB / 1.416 GB, free: 2.137 MB / 1.139 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.001859/1.136, allocations: 0.7219 MB / 1.416 GB, free: 1.574 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003681/1.14, allocations: 1.875 MB / 1.418 GB, free: 15.63 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.14, allocations: 0.5625 kB / 1.418 GB, free: 15.63 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002189/1.142, allocations: 1.309 MB / 1.419 GB, free: 14.26 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/1.145, allocations: 0.5213 MB / 1.42 GB, free: 13.76 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006132/1.151, allocations: 2.823 MB / 1.423 GB, free: 10.89 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/1.152, allocations: 1.3 MB / 1.424 GB, free: 9.566 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007762/1.153, allocations: 175.3 kB / 1.424 GB, free: 9.395 MB / 1.154 GB Notification: Performance of SimCode: time 2.485e-06/1.153, allocations: 0 / 1.424 GB, free: 9.395 MB / 1.154 GB Notification: Performance of Templates: time 0.066/1.219, allocations: 57.75 MB / 1.481 GB, free: 15.6 MB / 1.217 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=480 -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/jenkins1/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