Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside.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.001042/0.001042, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009571/0.0009571, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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 0.975/0.975, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.885/1.885, allocations: 377.8 MB / 0.6236 GB, free: 8.598 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.8115 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.298e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1432/0.1432, allocations: 150 MB / 0.958 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01115/0.1543, allocations: 9.293 MB / 0.9671 GB, free: 1.992 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.1554, allocations: 43.62 kB / 0.9671 GB, free: 1.949 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008866/0.1562, allocations: 325.2 kB / 0.9674 GB, free: 1.629 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002494/0.1587, allocations: 1.006 MB / 0.9684 GB, free: 0.6172 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002778/0.1615, allocations: 1.46 MB / 0.9698 GB, free: 15.15 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002677/0.1642, allocations: 2.454 MB / 0.9722 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.1658, allocations: 1.156 MB / 0.9734 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002776/0.1685, allocations: 1.457 MB / 0.9748 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007825/0.1693, allocations: 0.666 MB / 0.9754 GB, free: 9.422 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001773/0.1695, allocations: 160 kB / 0.9756 GB, free: 9.266 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.1712, allocations: 0.9435 MB / 0.9765 GB, free: 8.32 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003258/0.1715, allocations: 486.4 kB / 0.977 GB, free: 7.844 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0005206/0.1721, allocations: 0.5495 MB / 0.9775 GB, free: 7.293 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.00259/0.1747, allocations: 1.915 MB / 0.9794 GB, free: 5.371 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1747, allocations: 0 / 0.9794 GB, free: 5.371 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1747, allocations: 4 kB / 0.9794 GB, free: 5.367 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.766e-05/0.1747, allocations: 0 / 0.9794 GB, free: 5.367 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.002645/0.1773, allocations: 1.976 MB / 0.9813 GB, free: 3.34 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.1774, allocations: 8.031 kB / 0.9813 GB, free: 3.332 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.1791, allocations: 0.5639 MB / 0.9819 GB, free: 2.766 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.1805, allocations: 0.9588 MB / 0.9828 GB, free: 1.773 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.67e-05/0.1805, allocations: 98.34 kB / 0.9829 GB, free: 1.676 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.1807, allocations: 128 kB / 0.983 GB, free: 1.551 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.1822, allocations: 1.374 MB / 0.9844 GB, free: 8 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.1822, allocations: 4 kB / 0.9844 GB, free: 4 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-05/0.1823, allocations: 52.06 kB / 0.9844 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.1823, allocations: 28 kB / 0.9844 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.1836, allocations: 0.9576 MB / 0.9854 GB, free: 14.95 MB / 0.948 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.003895/0.1875, allocations: 3.068 MB / 0.9884 GB, free: 11.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.1889, allocations: 0.6999 MB / 0.9891 GB, free: 11.11 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.1893, allocations: 242.5 kB / 0.9893 GB, free: 10.87 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003684/0.1896, allocations: 96.91 kB / 0.9894 GB, free: 10.78 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008613/0.1905, allocations: 0.7219 MB / 0.9901 GB, free: 9.977 MB / 0.948 GB Notification: Performance of pre-optimization done (n=114): time 4.809e-06/0.1905, allocations: 0 / 0.9901 GB, free: 9.977 MB / 0.948 GB Notification: Performance of matching and sorting (n=114): time 0.002932/0.1934, allocations: 1.077 MB / 0.9911 GB, free: 8.891 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.1936, allocations: 200.9 kB / 0.9913 GB, free: 8.652 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000698/0.1943, allocations: 0.7103 MB / 0.992 GB, free: 7.926 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.717e-05/0.1943, allocations: 57.7 kB / 0.9921 GB, free: 7.863 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000372/0.1947, allocations: 0.5821 MB / 0.9926 GB, free: 7.273 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.195, allocations: 396.6 kB / 0.993 GB, free: 6.883 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.1952, allocations: 232.5 kB / 0.9932 GB, free: 6.648 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1954, allocations: 0.5238 MB / 0.9938 GB, free: 6.117 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.1957, allocations: 190.4 kB / 0.9939 GB, free: 5.93 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004986/0.1962, allocations: 0.5231 MB / 0.9944 GB, free: 5.332 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007721/0.197, allocations: 0.5268 MB / 0.995 GB, free: 4.781 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.197, allocations: 0 / 0.995 GB, free: 4.781 MB / 0.948 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001659/0.1987, allocations: 0.8825 MB / 0.9958 GB, free: 3.887 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.1987, allocations: 14.8 kB / 0.9958 GB, free: 3.875 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1987, allocations: 0 / 0.9958 GB, free: 3.875 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004929/0.1992, allocations: 131.7 kB / 0.996 GB, free: 3.742 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/0.1998, allocations: 247.7 kB / 0.9962 GB, free: 3.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.2013, allocations: 1.909 MB / 0.9981 GB, free: 1.461 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004754/0.2017, allocations: 105.6 kB / 0.9982 GB, free: 1.359 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-05/0.2018, allocations: 47.97 kB / 0.9982 GB, free: 1.312 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.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 (141): * Single equations (assignments): 140 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003378/0.2021, allocations: 235 kB / 0.9984 GB, free: 1.07 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.2023, allocations: 155.2 kB / 0.9986 GB, free: 0.918 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/0.2039, allocations: 1.195 MB / 0.9998 GB, free: 15.7 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.2039, allocations: 16 kB / 0.9998 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.2039, allocations: 0 / 0.9998 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.2039, allocations: 7.969 kB / 0.9998 GB, free: 15.67 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/0.2067, allocations: 2.133 MB / 1.002 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.2067, allocations: 4 kB / 1.002 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004895/0.2072, allocations: 199.7 kB / 1.002 GB, free: 13.25 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003765/0.2076, allocations: 127.7 kB / 1.002 GB, free: 13.12 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/0.2076, allocations: 31.98 kB / 1.002 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.209, allocations: 1.929 MB / 1.004 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.209, allocations: 0 / 1.004 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.2107, allocations: 1.317 MB / 1.005 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003587/0.211, allocations: 258.9 kB / 1.006 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.2111, allocations: 31.94 kB / 1.006 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/0.2115, allocations: 55.95 kB / 1.006 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.2116, allocations: 96.77 kB / 1.006 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.105e-05/0.2117, allocations: 52.03 kB / 1.006 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004237/0.2121, allocations: 482.9 kB / 1.006 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2121, allocations: 4 kB / 1.006 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001006/0.2131, allocations: 494.7 kB / 1.007 GB, free: 8.227 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (122): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001523/0.2147, allocations: 0.7093 MB / 1.007 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001222/0.2159, allocations: 0.8264 MB / 1.008 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2159, allocations: 0 / 1.008 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.00059/0.2165, allocations: 0.5484 MB / 1.009 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.2176, allocations: 494 kB / 1.009 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.2211, allocations: 2.201 MB / 1.011 GB, free: 3.543 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.2213, allocations: 256.8 kB / 1.012 GB, free: 3.27 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000853/0.2221, allocations: 336.8 kB / 1.012 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/0.2224, allocations: 132.4 kB / 1.012 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of SimCode: time 1.824e-06/0.2224, allocations: 0 / 1.012 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of Templates: time 0.02832/0.2507, allocations: 22.46 MB / 1.034 GB, free: 12.77 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside.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: 7.0191631792113185]