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.00152/0.00152, allocations: 81.95 kB / 21.47 MB, free: 3.027 MB / 18.57 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.001959/0.001959, allocations: 160.8 kB / 24.86 MB, free: 9.266 MB / 18.57 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.018/1.018, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.77/1.77, allocations: 359 MB / 0.6063 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.563e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1288/0.1288, allocations: 148 MB / 0.9329 GB, free: 7.672 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01398/0.1428, allocations: 15.06 MB / 0.9476 GB, free: 8.562 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009304/0.1438, allocations: 39.69 kB / 0.9476 GB, free: 8.523 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0009481/0.1447, allocations: 404.4 kB / 0.948 GB, free: 8.125 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002425/0.1471, allocations: 1.328 MB / 0.9493 GB, free: 6.789 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.1492, allocations: 1.348 MB / 0.9506 GB, free: 5.438 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002254/0.1514, allocations: 2.792 MB / 0.9533 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.1528, allocations: 1.579 MB / 0.9549 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00258/0.1553, allocations: 1.976 MB / 0.9568 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006988/0.156, allocations: 0.7906 MB / 0.9576 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001941/0.1562, allocations: 200 kB / 0.9578 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.1576, allocations: 0.9242 MB / 0.9587 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003502/0.1579, allocations: 0.5763 MB / 0.9592 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0005198/0.1584, allocations: 0.7092 MB / 0.9599 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00233/0.1608, allocations: 2.188 MB / 0.9621 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1608, allocations: 0 / 0.9621 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1608, allocations: 0 / 0.9621 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.919e-05/0.1608, allocations: 0 / 0.9621 GB, free: 9.758 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002191/0.163, allocations: 2.381 MB / 0.9644 GB, free: 7.32 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.163, allocations: 8.031 kB / 0.9644 GB, free: 7.312 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002193/0.1652, allocations: 0.8246 MB / 0.9652 GB, free: 6.484 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.1663, allocations: 1.072 MB / 0.9663 GB, free: 5.375 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.042e-05/0.1664, allocations: 127.5 kB / 0.9664 GB, free: 5.25 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.1665, allocations: 192 kB / 0.9666 GB, free: 5.062 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.1682, allocations: 1.983 MB / 0.9685 GB, free: 2.844 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.1682, allocations: 0 / 0.9685 GB, free: 2.844 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.1683, allocations: 76 kB / 0.9686 GB, free: 2.77 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.1684, allocations: 44 kB / 0.9686 GB, free: 2.727 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.1694, allocations: 1.011 MB / 0.9696 GB, free: 1.707 MB / 0.9167 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.004095/0.1735, allocations: 3.733 MB / 0.9732 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009741/0.1745, allocations: 0.7699 MB / 0.974 GB, free: 13.13 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006189/0.1751, allocations: 322.4 kB / 0.9743 GB, free: 12.81 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004034/0.1755, allocations: 137.2 kB / 0.9744 GB, free: 12.68 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008147/0.1764, allocations: 1.204 MB / 0.9756 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=154): time 2.916e-06/0.1764, allocations: 0 / 0.9756 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=154): time 0.002388/0.1787, allocations: 1.44 MB / 0.977 GB, free: 9.836 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.594e-05/0.1788, allocations: 213.2 kB / 0.9772 GB, free: 9.586 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/0.1793, allocations: 0.6981 MB / 0.9779 GB, free: 8.875 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.163e-05/0.1794, allocations: 65.7 kB / 0.978 GB, free: 8.805 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.1798, allocations: 0.7189 MB / 0.9787 GB, free: 8.074 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/0.1801, allocations: 0.5189 MB / 0.9792 GB, free: 7.551 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/0.1803, allocations: 281 kB / 0.9794 GB, free: 7.266 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1805, allocations: 0.5354 MB / 0.98 GB, free: 6.723 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.1807, allocations: 195.8 kB / 0.9801 GB, free: 6.531 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.1811, allocations: 488.6 kB / 0.9806 GB, free: 6.008 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008784/0.182, allocations: 0.5861 MB / 0.9812 GB, free: 5.41 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.182, allocations: 0 / 0.9812 GB, free: 5.41 MB / 0.9323 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001372/0.1834, allocations: 1.085 MB / 0.9822 GB, free: 4.297 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1834, allocations: 4 kB / 0.9822 GB, free: 4.293 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1834, allocations: 0 / 0.9822 GB, free: 4.293 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006154/0.184, allocations: 258.1 kB / 0.9825 GB, free: 4.02 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007449/0.1848, allocations: 335.5 kB / 0.9828 GB, free: 3.691 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004316/0.1891, allocations: 8.819 MB / 0.9914 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004711/0.1896, allocations: 125 kB / 0.9915 GB, free: 10.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.237e-05/0.1896, allocations: 47.97 kB / 0.9916 GB, free: 10.13 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (169): * Single equations (assignments): 164 * 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.0003175/0.19, allocations: 246.9 kB / 0.9918 GB, free: 9.879 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/0.1902, allocations: 183.2 kB / 0.992 GB, free: 9.699 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.1918, allocations: 1.321 MB / 0.9933 GB, free: 8.348 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.1918, allocations: 16 kB / 0.9933 GB, free: 8.332 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1918, allocations: 0 / 0.9933 GB, free: 8.332 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.1918, allocations: 7.969 kB / 0.9933 GB, free: 8.324 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002977/0.1948, allocations: 2.387 MB / 0.9956 GB, free: 5.863 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1948, allocations: 0 / 0.9956 GB, free: 5.863 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006663/0.1955, allocations: 303.6 kB / 0.9959 GB, free: 5.566 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005347/0.196, allocations: 238.2 kB / 0.9962 GB, free: 5.312 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.16e-05/0.1961, allocations: 47.95 kB / 0.9962 GB, free: 5.266 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003755/0.1998, allocations: 8.844 MB / 1.005 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1998, allocations: 0 / 1.005 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.2013, allocations: 1.3 MB / 1.006 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000367/0.2016, allocations: 314.5 kB / 1.006 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.2017, allocations: 35.98 kB / 1.006 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.2022, allocations: 71.95 kB / 1.007 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.2023, allocations: 113.8 kB / 1.007 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.44e-05/0.2024, allocations: 59.94 kB / 1.007 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0003063/0.2027, allocations: 438.8 kB / 1.007 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.2027, allocations: 0 / 1.007 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001309/0.204, allocations: 0.6428 MB / 1.008 GB, free: 8.848 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001571/0.2056, allocations: 0.7251 MB / 1.008 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001794/0.2074, allocations: 1.615 MB / 1.01 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.2074, allocations: 8.828 kB / 1.01 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008761/0.2083, allocations: 1.32 MB / 1.011 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.2096, allocations: 0.5598 MB / 1.012 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/0.2128, allocations: 2.575 MB / 1.014 GB, free: 2.016 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.2131, allocations: 318.3 kB / 1.015 GB, free: 1.68 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0007518/0.2138, allocations: 310.3 kB / 1.015 GB, free: 1.371 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.2149, allocations: 0.6461 MB / 1.016 GB, free: 0.7227 MB / 0.9636 GB Notification: Performance of SimCode: time 9.92e-07/0.2149, allocations: 0 / 1.016 GB, free: 0.7227 MB / 0.9636 GB Notification: Performance of Templates: time 0.03536/0.2502, allocations: 30.87 MB / 1.046 GB, free: 2.41 MB / 0.9948 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.800999260973185]