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.001065/0.001065, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00168/0.00168, allocations: 173 kB / 24.28 MB, free: 276 kB / 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.9337/0.9337, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.967/1.967, allocations: 377.8 MB / 0.6239 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.823e-06/1.823e-06, allocations: 0 / 0.8115 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.909e-05, allocations: 6.312 kB / 0.8115 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.157/0.157, allocations: 172.9 MB / 0.9803 GB, free: 3.473 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01191/0.1689, allocations: 11.21 MB / 0.9913 GB, free: 8.23 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.17, allocations: 47.62 kB / 0.9913 GB, free: 8.184 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.171, allocations: 424.5 kB / 0.9917 GB, free: 7.766 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002651/0.1737, allocations: 1.15 MB / 0.9928 GB, free: 6.609 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.003242/0.1769, allocations: 1.791 MB / 0.9946 GB, free: 4.812 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.002496/0.1794, allocations: 2.462 MB / 0.997 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.1807, allocations: 1.159 MB / 0.9981 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002976/0.1836, allocations: 1.915 MB / 1 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007475/0.1844, allocations: 0.6699 MB / 1.001 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001625/0.1846, allocations: 160 kB / 1.001 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/0.1867, allocations: 1.294 MB / 1.002 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003249/0.187, allocations: 482.5 kB / 1.003 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000471/0.1875, allocations: 0.5533 MB / 1.003 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002996/0.1905, allocations: 2.087 MB / 1.005 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1905, allocations: 0 / 1.005 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1905, allocations: 0 / 1.005 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.28e-05/0.1905, allocations: 0 / 1.005 GB, free: 10.04 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.002318/0.1928, allocations: 2.011 MB / 1.007 GB, free: 7.973 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1928, allocations: 8.031 kB / 1.007 GB, free: 7.965 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/0.1947, allocations: 0.5562 MB / 1.008 GB, free: 7.406 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.1959, allocations: 0.9588 MB / 1.009 GB, free: 6.406 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.916e-05/0.1959, allocations: 94.38 kB / 1.009 GB, free: 6.312 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.1961, allocations: 131.9 kB / 1.009 GB, free: 6.184 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.1975, allocations: 1.378 MB / 1.01 GB, free: 4.637 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.1975, allocations: 0 / 1.01 GB, free: 4.637 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-05/0.1976, allocations: 55.98 kB / 1.01 GB, free: 4.582 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.1976, allocations: 28 kB / 1.01 GB, free: 4.555 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.1988, allocations: 0.9576 MB / 1.011 GB, free: 3.586 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.003747/0.2025, allocations: 3.072 MB / 1.014 GB, free: 460 kB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.2037, allocations: 0.6925 MB / 1.015 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/0.204, allocations: 246.5 kB / 1.015 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003406/0.2044, allocations: 116.9 kB / 1.015 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007746/0.2051, allocations: 0.7063 MB / 1.016 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=114): time 4.208e-06/0.2051, allocations: 7.984 kB / 1.016 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of matching and sorting (n=114): time 0.002171/0.2073, allocations: 1.077 MB / 1.017 GB, free: 13.51 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/0.2074, allocations: 204.9 kB / 1.017 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006563/0.208, allocations: 0.718 MB / 1.018 GB, free: 12.54 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-05/0.2081, allocations: 57.7 kB / 1.018 GB, free: 12.47 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.2085, allocations: 0.5821 MB / 1.018 GB, free: 11.88 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/0.2087, allocations: 392.7 kB / 1.019 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/0.2089, allocations: 228.5 kB / 1.019 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2091, allocations: 0.5238 MB / 1.02 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.2094, allocations: 186.5 kB / 1.02 GB, free: 10.55 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004922/0.2099, allocations: 0.5269 MB / 1.02 GB, free: 9.949 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007589/0.2107, allocations: 0.5307 MB / 1.021 GB, free: 9.391 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.2107, allocations: 0 / 1.021 GB, free: 9.391 MB / 0.9323 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001395/0.2121, allocations: 0.8903 MB / 1.022 GB, free: 8.488 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.2121, allocations: 4 kB / 1.022 GB, free: 8.484 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2121, allocations: 0 / 1.022 GB, free: 8.484 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004885/0.2126, allocations: 131.7 kB / 1.022 GB, free: 8.352 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/0.2132, allocations: 259.6 kB / 1.022 GB, free: 8.098 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.2146, allocations: 1.89 MB / 1.024 GB, free: 6.074 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004798/0.2151, allocations: 103.5 kB / 1.024 GB, free: 5.973 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-05/0.2152, allocations: 55.91 kB / 1.024 GB, free: 5.918 MB / 0.9323 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.0003599/0.2155, allocations: 235 kB / 1.024 GB, free: 5.676 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/0.2157, allocations: 151.3 kB / 1.024 GB, free: 5.527 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.2174, allocations: 1.207 MB / 1.026 GB, free: 4.293 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.2174, allocations: 12 kB / 1.026 GB, free: 4.281 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.2174, allocations: 0 / 1.026 GB, free: 4.281 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.537e-06/0.2174, allocations: 3.984 kB / 1.026 GB, free: 4.277 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002681/0.2201, allocations: 2.129 MB / 1.028 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.2201, allocations: 3.984 kB / 1.028 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004836/0.2206, allocations: 199.7 kB / 1.028 GB, free: 1.863 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003676/0.2209, allocations: 115.7 kB / 1.028 GB, free: 1.746 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.004e-05/0.221, allocations: 39.91 kB / 1.028 GB, free: 1.707 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3547/0.5757, allocations: 1.919 MB / 1.03 GB, free: 230.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.5757, allocations: 1.812 kB / 1.03 GB, free: 230.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/0.578, allocations: 1.316 MB / 1.031 GB, free: 230 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000428/0.5784, allocations: 260.7 kB / 1.031 GB, free: 230 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.5786, allocations: 36.55 kB / 1.031 GB, free: 230 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/0.579, allocations: 60.5 kB / 1.031 GB, free: 230 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.5792, allocations: 95.44 kB / 1.032 GB, free: 230 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.339e-05/0.5792, allocations: 49.88 kB / 1.032 GB, free: 230 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005285/0.5798, allocations: 477.4 kB / 1.032 GB, free: 229.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.5798, allocations: 0 / 1.032 GB, free: 229.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001125/0.5809, allocations: 496 kB / 1.033 GB, free: 229.8 MB / 0.9323 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.001508/0.5824, allocations: 0.7299 MB / 1.033 GB, free: 229.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001435/0.5838, allocations: 0.8242 MB / 1.034 GB, free: 229.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.5838, allocations: 1.969 kB / 1.034 GB, free: 229.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006478/0.5845, allocations: 0.5551 MB / 1.035 GB, free: 229.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.5857, allocations: 486.8 kB / 1.035 GB, free: 229.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/0.5891, allocations: 2.2 MB / 1.037 GB, free: 228 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.5894, allocations: 256.5 kB / 1.037 GB, free: 227.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0008919/0.5903, allocations: 330.5 kB / 1.038 GB, free: 227.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003217/0.5906, allocations: 136.7 kB / 1.038 GB, free: 227.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.503e-06/0.5906, allocations: 0 / 1.038 GB, free: 227.9 MB / 0.9323 GB Notification: Performance of Templates: time 0.02842/0.619, allocations: 22.73 MB / 1.06 GB, free: 217.8 MB / 0.9323 GB " [Timeout remaining time 299] 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: 6.666229642927647]