Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 220 kB / 22.24 MB, free: 5.109 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.92/2.92, allocations: 476 MB / 0.7699 GB, free: 4.789 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 69.09 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3614, allocations: 169.9 MB / 1.283 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.2069/0.5684, allocations: 148.2 MB / 1.428 GB, free: 7.207 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02759/0.596, allocations: 15.93 MB / 1.443 GB, free: 7.227 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.5977, allocations: 39.62 kB / 1.443 GB, free: 7.188 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.5997, allocations: 0.5428 MB / 1.444 GB, free: 6.641 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005572/0.6053, allocations: 1.679 MB / 1.445 GB, free: 4.957 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004286/0.6096, allocations: 1.346 MB / 1.447 GB, free: 3.621 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00474/0.6143, allocations: 2.723 MB / 1.449 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003181/0.6175, allocations: 1.512 MB / 1.451 GB, free: 15.32 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005419/0.6229, allocations: 1.443 MB / 1.452 GB, free: 13.92 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001986/0.6249, allocations: 0.9176 MB / 1.453 GB, free: 13 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0006347/0.6255, allocations: 208 kB / 1.453 GB, free: 12.8 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003688/0.6292, allocations: 1.295 MB / 1.455 GB, free: 11.5 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0009331/0.6301, allocations: 0.5607 MB / 1.455 GB, free: 10.94 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001881/0.632, allocations: 0.8555 MB / 1.456 GB, free: 10.08 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.006097/0.6381, allocations: 3.168 MB / 1.459 GB, free: 6.898 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.6381, allocations: 0 / 1.459 GB, free: 6.898 MB / 1.154 GB Notification: Performance of FrontEnd: time 3.777e-06/0.6381, allocations: 4 kB / 1.459 GB, free: 6.895 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001659/0.6383, allocations: 0 / 1.459 GB, free: 6.895 MB / 1.154 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.006461/0.6448, allocations: 2.298 MB / 1.461 GB, free: 4.547 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.6448, allocations: 8.031 kB / 1.461 GB, free: 4.539 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004627/0.6494, allocations: 0.5724 MB / 1.462 GB, free: 3.965 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/0.6522, allocations: 1.057 MB / 1.463 GB, free: 2.875 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.6524, allocations: 131.4 kB / 1.463 GB, free: 2.746 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004151/0.6528, allocations: 168 kB / 1.463 GB, free: 2.582 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004887/0.6577, allocations: 2.6 MB / 1.466 GB, free: 15.75 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/0.6577, allocations: 0 / 1.466 GB, free: 15.75 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002194/0.6579, allocations: 76 kB / 1.466 GB, free: 15.67 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/0.658, allocations: 40 kB / 1.466 GB, free: 15.63 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003864/0.6618, allocations: 1.828 MB / 1.468 GB, free: 13.8 MB / 1.17 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.00873/0.6706, allocations: 3.727 MB / 1.471 GB, free: 10.01 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/0.6737, allocations: 1.368 MB / 1.473 GB, free: 8.641 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.6749, allocations: 0.5933 MB / 1.473 GB, free: 8.047 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/0.676, allocations: 181.1 kB / 1.473 GB, free: 7.871 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002299/0.6783, allocations: 1.494 MB / 1.475 GB, free: 6.211 MB / 1.17 GB Notification: Performance of pre-optimization done (n=146): time 3.427e-06/0.6783, allocations: 4 kB / 1.475 GB, free: 6.207 MB / 1.17 GB Notification: Performance of matching and sorting (n=146): time 0.006506/0.6848, allocations: 2.172 MB / 1.477 GB, free: 4.012 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.6849, allocations: 201.2 kB / 1.477 GB, free: 3.773 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.6861, allocations: 0.7629 MB / 1.478 GB, free: 2.996 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/0.6863, allocations: 57.7 kB / 1.478 GB, free: 2.934 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006883/0.687, allocations: 0.6732 MB / 1.479 GB, free: 2.25 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005144/0.6875, allocations: 0.4996 MB / 1.479 GB, free: 1.746 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004425/0.6879, allocations: 250.8 kB / 1.479 GB, free: 1.496 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.6881, allocations: 357.9 kB / 1.48 GB, free: 1.141 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.6892, allocations: 0.4906 MB / 1.48 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.6907, allocations: 0.8606 MB / 1.481 GB, free: 15.7 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/0.693, allocations: 1.122 MB / 1.482 GB, free: 14.57 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.693, allocations: 3.938 kB / 1.482 GB, free: 14.56 MB / 1.186 GB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003753/0.6967, allocations: 1.543 MB / 1.484 GB, free: 13 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.6968, allocations: 8 kB / 1.484 GB, free: 12.99 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.6968, allocations: 0 / 1.484 GB, free: 12.99 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000988/0.6978, allocations: 192.2 kB / 1.484 GB, free: 12.79 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/0.6994, allocations: 339.6 kB / 1.484 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006559/0.7059, allocations: 6.65 MB / 1.491 GB, free: 5.289 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.7074, allocations: 143.3 kB / 1.491 GB, free: 5.148 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.7075, allocations: 51.97 kB / 1.491 GB, free: 5.098 MB / 1.186 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.0008665/0.7084, allocations: 384.5 kB / 1.491 GB, free: 4.711 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003079/0.7087, allocations: 127.2 kB / 1.491 GB, free: 4.586 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004428/0.7131, allocations: 1.842 MB / 1.493 GB, free: 2.719 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.7131, allocations: 12 kB / 1.493 GB, free: 2.707 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.7131, allocations: 7.938 kB / 1.493 GB, free: 2.699 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.7131, allocations: 7.969 kB / 1.493 GB, free: 2.691 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006298/0.7194, allocations: 2.996 MB / 1.496 GB, free: 15.64 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.7194, allocations: 0 / 1.496 GB, free: 15.64 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/0.7209, allocations: 315.6 kB / 1.496 GB, free: 15.33 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007824/0.7217, allocations: 192.1 kB / 1.497 GB, free: 15.12 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.7218, allocations: 39.97 kB / 1.497 GB, free: 15.09 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006213/0.728, allocations: 6.67 MB / 1.503 GB, free: 7.902 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.728, allocations: 4.188 kB / 1.503 GB, free: 7.898 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004074/0.7321, allocations: 1.713 MB / 1.505 GB, free: 6.152 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009049/0.733, allocations: 326.6 kB / 1.505 GB, free: 5.832 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.7332, allocations: 28 kB / 1.505 GB, free: 5.805 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.7344, allocations: 106.1 kB / 1.505 GB, free: 5.703 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002589/0.7346, allocations: 121 kB / 1.505 GB, free: 5.582 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/0.7348, allocations: 71.95 kB / 1.505 GB, free: 5.512 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008004/0.7356, allocations: 0.5263 MB / 1.506 GB, free: 4.992 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.7356, allocations: 0 / 1.506 GB, free: 4.992 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001628/0.7372, allocations: 0.6233 MB / 1.507 GB, free: 4.367 MB / 1.201 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.002426/0.7397, allocations: 0.7544 MB / 1.507 GB, free: 3.816 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003539/0.7432, allocations: 1.813 MB / 1.509 GB, free: 1.938 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.7432, allocations: 0.6562 kB / 1.509 GB, free: 1.934 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002134/0.7453, allocations: 1.254 MB / 1.51 GB, free: 0.6172 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/0.7475, allocations: 0.4911 MB / 1.511 GB, free: 152 kB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005706/0.7533, allocations: 2.844 MB / 1.514 GB, free: 13.27 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008785/0.7541, allocations: 0.7211 MB / 1.514 GB, free: 12.52 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001732/0.7559, allocations: 429.7 kB / 1.515 GB, free: 12.1 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004535/0.7563, allocations: 151.4 kB / 1.515 GB, free: 11.95 MB / 1.217 GB Notification: Performance of SimCode: time 6.21e-07/0.7563, allocations: 0 / 1.515 GB, free: 11.95 MB / 1.217 GB Notification: Performance of Templates: time 0.05232/0.8086, allocations: 29.57 MB / 1.544 GB, free: 14.9 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.024409366771579]