Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.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.0009848/0.0009848, 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.0009683/0.0009683, 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.9721/0.9721, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.844/1.844, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bou1.ports.[0-9,]+..p|bou2.ports.[0-9,]+..p|bouFix.ports.[0-9,]+..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bou1.ports.[0-9,]+..p|bou2.ports.[0-9,]+..p|bouFix.ports.[0-9,]+..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.8115 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.253e-05, allocations: 4.703 kB / 0.8115 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1401/0.1401, allocations: 172.4 MB / 0.9799 GB, free: 3.98 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01503/0.1551, allocations: 16.1 MB / 0.9956 GB, free: 3.82 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.1562, allocations: 47.62 kB / 0.9957 GB, free: 3.773 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.1574, allocations: 0.6048 MB / 0.9963 GB, free: 3.164 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002698/0.1601, allocations: 1.659 MB / 0.9979 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.1628, allocations: 1.744 MB / 0.9996 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001891/0.1647, allocations: 3.026 MB / 1.003 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.166, allocations: 1.541 MB / 1.004 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002625/0.1686, allocations: 2.261 MB / 1.006 GB, free: 8.957 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006708/0.1693, allocations: 0.8646 MB / 1.007 GB, free: 8.09 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.1695, allocations: 208 kB / 1.007 GB, free: 7.887 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.1709, allocations: 1.251 MB / 1.009 GB, free: 6.633 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003345/0.1712, allocations: 0.6036 MB / 1.009 GB, free: 6.027 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0005662/0.1718, allocations: 0.7248 MB / 1.01 GB, free: 5.301 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00192/0.1737, allocations: 2.316 MB / 1.012 GB, free: 2.973 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1737, allocations: 0 / 1.012 GB, free: 2.973 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1737, allocations: 0 / 1.012 GB, free: 2.973 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.1737, allocations: 7.938 kB / 1.012 GB, free: 2.965 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.002287/0.176, allocations: 2.438 MB / 1.014 GB, free: 480 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.176, allocations: 12.03 kB / 1.014 GB, free: 468 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001962/0.178, allocations: 0.7119 MB / 1.015 GB, free: 15.74 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.1791, allocations: 1.099 MB / 1.016 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.776e-05/0.1792, allocations: 127.2 kB / 1.016 GB, free: 14.47 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.1793, allocations: 176 kB / 1.017 GB, free: 14.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001733/0.1811, allocations: 2.03 MB / 1.019 GB, free: 12.01 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.1811, allocations: 0 / 1.019 GB, free: 12.01 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.1812, allocations: 75.98 kB / 1.019 GB, free: 11.94 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/0.1812, allocations: 44 kB / 1.019 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.1826, allocations: 1.134 MB / 1.02 GB, free: 10.75 MB / 0.9323 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.004411/0.187, allocations: 4.868 MB / 1.024 GB, free: 5.762 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.1881, allocations: 0.7927 MB / 1.025 GB, free: 4.973 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/0.1885, allocations: 315 kB / 1.026 GB, free: 4.66 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003221/0.1889, allocations: 145.2 kB / 1.026 GB, free: 4.516 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008435/0.1897, allocations: 1.077 MB / 1.027 GB, free: 3.301 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=134): time 2.494e-06/0.1897, allocations: 0 / 1.027 GB, free: 3.301 MB / 0.9323 GB Notification: Performance of matching and sorting (n=134): time 0.002197/0.1919, allocations: 1.262 MB / 1.028 GB, free: 2.031 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.922e-05/0.192, allocations: 205.2 kB / 1.028 GB, free: 1.785 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006893/0.1927, allocations: 0.796 MB / 1.029 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.13e-05/0.1928, allocations: 61.7 kB / 1.029 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.1931, allocations: 0.7268 MB / 1.03 GB, free: 160 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.3774/0.5705, allocations: 459.2 kB / 1.03 GB, free: 232.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003736/0.5709, allocations: 256.6 kB / 1.03 GB, free: 232.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.037e-05/0.571, allocations: 0.5261 MB / 1.031 GB, free: 231.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004819/0.5715, allocations: 221.6 kB / 1.031 GB, free: 231.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006002/0.5721, allocations: 0.6192 MB / 1.032 GB, free: 231.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009533/0.573, allocations: 0.628 MB / 1.032 GB, free: 231.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.573, allocations: 1.156 kB / 1.032 GB, free: 231.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.001954/0.575, allocations: 1.001 MB / 1.033 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.575, allocations: 9.344 kB / 1.033 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.575, allocations: 2.859 kB / 1.033 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005372/0.5755, allocations: 128.2 kB / 1.033 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008391/0.5764, allocations: 313.6 kB / 1.034 GB, free: 231.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.5776, allocations: 1.897 MB / 1.036 GB, free: 229.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.5782, allocations: 107.8 kB / 1.036 GB, free: 229.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-05/0.5783, allocations: 57.47 kB / 1.036 GB, free: 229.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (157): * Single equations (assignments): 156 * 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.0004161/0.5787, allocations: 247.2 kB / 1.036 GB, free: 229 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.5789, allocations: 179.2 kB / 1.036 GB, free: 228.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/0.5809, allocations: 1.193 MB / 1.037 GB, free: 228.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.5809, allocations: 18.31 kB / 1.037 GB, free: 228.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.581, allocations: 2.328 kB / 1.037 GB, free: 228.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/0.581, allocations: 6.844 kB / 1.037 GB, free: 228.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003477/0.5844, allocations: 2.439 MB / 1.04 GB, free: 227.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.5844, allocations: 0.75 kB / 1.04 GB, free: 227.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007431/0.5852, allocations: 266.1 kB / 1.04 GB, free: 227.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004116/0.5856, allocations: 123.9 kB / 1.04 GB, free: 227.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-05/0.5857, allocations: 39.44 kB / 1.04 GB, free: 227.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009721/0.5866, allocations: 1.923 MB / 1.042 GB, free: 225.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5867, allocations: 1.625 kB / 1.042 GB, free: 225.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/0.5888, allocations: 1.474 MB / 1.043 GB, free: 225 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003972/0.5892, allocations: 311.8 kB / 1.044 GB, free: 224.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.5893, allocations: 29.66 kB / 1.044 GB, free: 224.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004542/0.5898, allocations: 67.27 kB / 1.044 GB, free: 224.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.59, allocations: 100.4 kB / 1.044 GB, free: 224.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.612e-05/0.5901, allocations: 61.86 kB / 1.044 GB, free: 224.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005002/0.5906, allocations: 0.5079 MB / 1.045 GB, free: 224.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.5906, allocations: 1.672 kB / 1.045 GB, free: 224.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001153/0.5917, allocations: 0.5919 MB / 1.045 GB, free: 224.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (145): * Single equations (assignments): 134 * 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.001406/0.5931, allocations: 0.7412 MB / 1.046 GB, free: 224.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001367/0.5945, allocations: 0.9278 MB / 1.047 GB, free: 224 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5945, allocations: 1.594 kB / 1.047 GB, free: 224 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007068/0.5952, allocations: 0.6238 MB / 1.047 GB, free: 223.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.5965, allocations: 0.5374 MB / 1.048 GB, free: 223.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004153/0.6007, allocations: 2.659 MB / 1.05 GB, free: 222.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.601, allocations: 316.2 kB / 1.051 GB, free: 222.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0009565/0.6019, allocations: 400.9 kB / 1.051 GB, free: 222.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/0.6023, allocations: 150.5 kB / 1.051 GB, free: 222 MB / 0.9323 GB Notification: Performance of SimCode: time 8.21e-07/0.6023, allocations: 0.9844 kB / 1.051 GB, free: 222 MB / 0.9323 GB Notification: Performance of Templates: time 0.02611/0.6284, allocations: 25.64 MB / 1.076 GB, free: 202.8 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_Cp.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.483459098031744]