Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.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.001044/0.001044, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001431/0.002475, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00104/0.00104, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001272/0.002312, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.8892/0.8892, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07314/0.9624, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.339/2.339, allocations: 446.7 MB / 0.6745 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2121/2.551, allocations: 145.9 MB / 0.817 GB, free: 4.238 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|air.vol.T|air.vol.Xi.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.8184 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.52e-05, allocations: 4.703 kB / 0.8184 GB, free: 2.816 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance): time 0.1573/0.1573, allocations: 156 MB / 0.9707 GB, free: 6.215 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01143/0.1688, allocations: 10.6 MB / 0.9811 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.17, allocations: 123.1 kB / 0.9812 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.002846/0.1729, allocations: 1.845 MB / 0.983 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.1748, allocations: 1.377 MB / 0.9844 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.1759, allocations: 0.7597 MB / 0.9851 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.002452/0.1783, allocations: 3.237 MB / 0.9883 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.1796, allocations: 1.028 MB / 0.9893 GB, free: 3.164 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002439/0.182, allocations: 2.141 MB / 0.9914 GB, free: 1.004 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009066/0.1829, allocations: 0.9114 MB / 0.9922 GB, free: 92 kB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.1831, allocations: 124 kB / 0.9924 GB, free: 15.96 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006131/0.1837, allocations: 443 kB / 0.9928 GB, free: 15.54 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0002773/0.184, allocations: 426.2 kB / 0.9932 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0005033/0.1845, allocations: 0.5571 MB / 0.9937 GB, free: 14.56 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.1861, allocations: 2.105 MB / 0.9958 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.355e-05/0.1862, allocations: 0 / 0.9958 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1862, allocations: 0 / 0.9958 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 3.375e-05/0.1862, allocations: 0 / 0.9958 GB, free: 12.45 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.002532/0.1887, allocations: 3.055 MB / 0.9988 GB, free: 9.352 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.1888, allocations: 12.62 kB / 0.9988 GB, free: 9.34 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007337/0.1895, allocations: 432.6 kB / 0.9992 GB, free: 8.898 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.1911, allocations: 1.688 MB / 1.001 GB, free: 7.125 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.1911, allocations: 62 kB / 1.001 GB, free: 7.062 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-05/0.1912, allocations: 83.95 kB / 1.001 GB, free: 6.98 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007837/0.192, allocations: 0.6884 MB / 1.002 GB, free: 6.223 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.192, allocations: 0 / 1.002 GB, free: 6.223 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.664e-05/0.1921, allocations: 32 kB / 1.002 GB, free: 6.191 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.403e-05/0.1921, allocations: 25 kB / 1.002 GB, free: 6.168 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/0.1924, allocations: 229.5 kB / 1.002 GB, free: 5.941 MB / 0.9792 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.002089/0.1945, allocations: 2.614 MB / 1.004 GB, free: 3.25 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.1946, allocations: 194.5 kB / 1.005 GB, free: 3.051 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.517e-05/0.1947, allocations: 59.66 kB / 1.005 GB, free: 2.988 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-05/0.1948, allocations: 23.98 kB / 1.005 GB, free: 2.965 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.1948, allocations: 34.56 kB / 1.005 GB, free: 2.922 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=29): time 1.383e-06/0.1948, allocations: 0 / 1.005 GB, free: 2.922 MB / 0.9792 GB Notification: Performance of matching and sorting (n=31): time 0.001075/0.1959, allocations: 0.6814 MB / 1.005 GB, free: 2.199 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.1959, allocations: 59.41 kB / 1.006 GB, free: 2.129 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.197, allocations: 1.735 MB / 1.007 GB, free: 392 kB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.197, allocations: 29.7 kB / 1.007 GB, free: 356 kB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/0.1974, allocations: 0.6478 MB / 1.008 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.559e-05/0.1974, allocations: 127 kB / 1.008 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.1975, allocations: 126.2 kB / 1.008 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.088e-05/0.1976, allocations: 333.9 kB / 1.008 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.465e-05/0.1977, allocations: 72.05 kB / 1.008 GB, free: 15.03 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000425/0.1981, allocations: 401.6 kB / 1.009 GB, free: 14.49 MB / 0.9948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: air.vol.dynBal.medium.p = air.vol.dynBal.p_start (boundary.p = air.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.1986, allocations: 0.5908 MB / 1.009 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1986, allocations: 0 / 1.009 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0004611/0.199, allocations: 0.495 MB / 1.01 GB, free: 13.26 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1991, allocations: 11.98 kB / 1.01 GB, free: 13.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.1991, allocations: 12 kB / 1.01 GB, free: 13.24 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001015/0.1992, allocations: 49.42 kB / 1.01 GB, free: 13.19 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.1994, allocations: 151.8 kB / 1.01 GB, free: 13.04 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006784/0.2001, allocations: 1.422 MB / 1.012 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.2004, allocations: 24 kB / 1.012 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.2005, allocations: 28 kB / 1.012 GB, free: 11.48 MB / 0.9948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: air.vol.dynBal.medium.p = air.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002073/0.2007, allocations: 164.4 kB / 1.012 GB, free: 11.31 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.2008, allocations: 135.8 kB / 1.012 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.201, allocations: 198.6 kB / 1.012 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.201, allocations: 4 kB / 1.012 GB, free: 10.97 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.201, allocations: 0 / 1.012 GB, free: 10.97 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002085/0.2012, allocations: 395.7 kB / 1.012 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.2025, allocations: 1.667 MB / 1.014 GB, free: 8.766 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2025, allocations: 0 / 1.014 GB, free: 8.766 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/0.2029, allocations: 320 kB / 1.014 GB, free: 8.453 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.2032, allocations: 244 kB / 1.015 GB, free: 8.211 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.129e-05/0.2032, allocations: 40.84 kB / 1.015 GB, free: 8.168 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.2032, allocations: 15.98 kB / 1.015 GB, free: 8.152 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008341/0.2041, allocations: 1.411 MB / 1.016 GB, free: 6.66 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2041, allocations: 7.938 kB / 1.016 GB, free: 6.652 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004015/0.2045, allocations: 0.5713 MB / 1.017 GB, free: 6.016 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.2046, allocations: 8 kB / 1.017 GB, free: 6.008 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.2048, allocations: 15.94 kB / 1.017 GB, free: 5.992 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.2049, allocations: 27.89 kB / 1.017 GB, free: 5.965 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.2049, allocations: 16.12 kB / 1.017 GB, free: 5.949 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006653/0.2056, allocations: 0.907 MB / 1.018 GB, free: 5.035 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.2056, allocations: 0 / 1.018 GB, free: 5.035 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005366/0.2061, allocations: 308 kB / 1.018 GB, free: 4.734 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (air.vol.dynBal.medium.Xi[1],air.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001874/0.2063, allocations: 147.2 kB / 1.018 GB, free: 4.582 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003713/0.2067, allocations: 389.5 kB / 1.018 GB, free: 4.188 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.739e-05/0.2067, allocations: 32.44 kB / 1.018 GB, free: 4.156 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.2068, allocations: 221.6 kB / 1.019 GB, free: 3.926 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.2085, allocations: 1.028 MB / 1.02 GB, free: 2.914 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.2191, allocations: 3.356 MB / 1.023 GB, free: 15.46 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.2195, allocations: 0.5648 MB / 1.023 GB, free: 14.86 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000457/0.22, allocations: 218.1 kB / 1.024 GB, free: 14.64 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008499/0.2209, allocations: 0.538 MB / 1.024 GB, free: 14.1 MB / 1.01 GB Notification: Performance of SimCode: time 1.193e-06/0.2209, allocations: 0 / 1.024 GB, free: 14.1 MB / 1.01 GB Notification: Performance of Templates: time 0.4033/0.6241, allocations: 33.38 MB / 1.057 GB, free: 62.24 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.MixedAirHeatMassBalance.ref.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.001181164756417]