Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001769/0.001769, allocations: 91.56 kB / 20.46 MB, free: 4.133 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.001563/0.001563, allocations: 161 kB / 23.82 MB, free: 0.7695 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.9116/0.9116, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.725/1.725, allocations: 359 MB / 0.6052 GB, free: 11.03 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_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_11_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_11_Buildings.Fluid.Sources.Examples.Outside_Cp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.059e-05, allocations: 7.344 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1616/0.1617, allocations: 151.4 MB / 0.935 GB, free: 4.586 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01728/0.1789, allocations: 13.55 MB / 0.9482 GB, free: 7 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.1803, allocations: 47.62 kB / 0.9482 GB, free: 6.953 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0009428/0.1812, allocations: 400.5 kB / 0.9486 GB, free: 6.559 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.003552/0.1847, allocations: 1.32 MB / 0.9499 GB, free: 5.23 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.003291/0.188, allocations: 1.468 MB / 0.9513 GB, free: 3.758 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.003932/0.192, allocations: 3.01 MB / 0.9543 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002222/0.1942, allocations: 1.537 MB / 0.9558 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004037/0.1982, allocations: 2.016 MB / 0.9578 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.1997, allocations: 0.8412 MB / 0.9586 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0004054/0.2001, allocations: 192 kB / 0.9588 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.2017, allocations: 0.8657 MB / 0.9596 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0004271/0.2021, allocations: 0.5957 MB / 0.9602 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.2032, allocations: 0.7014 MB / 0.9609 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.003349/0.2065, allocations: 2.145 MB / 0.963 GB, free: 7.871 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2065, allocations: 0 / 0.963 GB, free: 7.871 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2065, allocations: 0 / 0.963 GB, free: 7.871 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.986e-05/0.2066, allocations: 0 / 0.963 GB, free: 7.871 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.002845/0.2094, allocations: 2.38 MB / 0.9653 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.2095, allocations: 8.031 kB / 0.9653 GB, free: 5.426 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002003/0.2115, allocations: 0.7119 MB / 0.966 GB, free: 4.711 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.2129, allocations: 1.092 MB / 0.9671 GB, free: 3.566 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-05/0.2129, allocations: 123.2 kB / 0.9672 GB, free: 3.445 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.2131, allocations: 171.9 kB / 0.9673 GB, free: 3.277 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002381/0.2155, allocations: 1.96 MB / 0.9693 GB, free: 1.074 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.772e-05/0.2155, allocations: 11.98 kB / 0.9693 GB, free: 1.062 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.2156, allocations: 71.98 kB / 0.9693 GB, free: 0.9922 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.17e-05/0.2157, allocations: 44 kB / 0.9694 GB, free: 0.9492 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.2172, allocations: 1.134 MB / 0.9705 GB, free: 15.81 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.005843/0.223, allocations: 4.802 MB / 0.9752 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.2242, allocations: 0.7862 MB / 0.9759 GB, free: 10.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004032/0.2246, allocations: 326.4 kB / 0.9763 GB, free: 9.773 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002942/0.2249, allocations: 117.2 kB / 0.9764 GB, free: 9.66 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008579/0.2258, allocations: 1.06 MB / 0.9774 GB, free: 8.461 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=134): time 3.166e-06/0.2258, allocations: 4 kB / 0.9774 GB, free: 8.457 MB / 0.9323 GB Notification: Performance of matching and sorting (n=134): time 0.002381/0.2282, allocations: 1.266 MB / 0.9786 GB, free: 7.18 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.983e-05/0.2282, allocations: 213.2 kB / 0.9788 GB, free: 6.93 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007921/0.229, allocations: 0.8222 MB / 0.9796 GB, free: 6.082 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.702e-05/0.2291, allocations: 57.7 kB / 0.9797 GB, free: 6.02 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004458/0.2296, allocations: 0.7577 MB / 0.9804 GB, free: 5.25 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003017/0.2299, allocations: 464 kB / 0.9809 GB, free: 4.793 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/0.2301, allocations: 273.1 kB / 0.9811 GB, free: 4.516 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0005258/0.2307, allocations: 0.5316 MB / 0.9817 GB, free: 3.977 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/0.231, allocations: 227.8 kB / 0.9819 GB, free: 3.754 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000576/0.2316, allocations: 0.6356 MB / 0.9825 GB, free: 3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00092/0.2325, allocations: 0.754 MB / 0.9832 GB, free: 2.16 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.2325, allocations: 0 / 0.9832 GB, free: 2.16 MB / 0.9323 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.001655/0.2342, allocations: 1.081 MB / 0.9843 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.2342, allocations: 8 kB / 0.9843 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.2342, allocations: 4 kB / 0.9843 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004804/0.2347, allocations: 136.1 kB / 0.9844 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007652/0.2355, allocations: 331.5 kB / 0.9848 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.2375, allocations: 1.913 MB / 0.9866 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007022/0.2382, allocations: 131.2 kB / 0.9867 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.786e-05/0.2383, allocations: 59.95 kB / 0.9868 GB, free: 14.36 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (169): * Single equations (assignments): 168 * 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.0005/0.2388, allocations: 246.9 kB / 0.987 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.239, allocations: 179.1 kB / 0.9872 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.2406, allocations: 1.206 MB / 0.9884 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.2406, allocations: 20 kB / 0.9884 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2406, allocations: 0 / 0.9884 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.2407, allocations: 7.969 kB / 0.9884 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003626/0.2443, allocations: 2.406 MB / 0.9908 GB, free: 10.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.2443, allocations: 3.938 kB / 0.9908 GB, free: 10.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006497/0.2449, allocations: 267.7 kB / 0.991 GB, free: 9.957 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003787/0.2453, allocations: 119.6 kB / 0.9911 GB, free: 9.836 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.796e-05/0.2454, allocations: 35.97 kB / 0.9912 GB, free: 9.801 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.2466, allocations: 1.918 MB / 0.993 GB, free: 7.754 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.2466, allocations: 7.922 kB / 0.9931 GB, free: 7.746 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.2487, allocations: 1.467 MB / 0.9945 GB, free: 6.25 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004919/0.2492, allocations: 310.6 kB / 0.9948 GB, free: 5.945 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.2493, allocations: 28.06 kB / 0.9948 GB, free: 5.918 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/0.2497, allocations: 68.41 kB / 0.9949 GB, free: 5.855 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.2499, allocations: 101.1 kB / 0.995 GB, free: 5.758 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.148e-05/0.25, allocations: 63.89 kB / 0.995 GB, free: 5.695 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007301/0.2507, allocations: 0.5052 MB / 0.9955 GB, free: 5.18 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2507, allocations: 0 / 0.9955 GB, free: 5.18 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001254/0.2519, allocations: 0.5883 MB / 0.9961 GB, free: 4.59 MB / 0.948 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.001554/0.2535, allocations: 0.7016 MB / 0.9968 GB, free: 4.059 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001741/0.2552, allocations: 0.9688 MB / 0.9977 GB, free: 3.074 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.2552, allocations: 0.5 kB / 0.9977 GB, free: 3.074 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007831/0.256, allocations: 0.6205 MB / 0.9983 GB, free: 2.434 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.2575, allocations: 0.542 MB / 0.9989 GB, free: 1.914 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/0.2619, allocations: 2.65 MB / 1.001 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.2622, allocations: 313 kB / 1.002 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001025/0.2632, allocations: 414.2 kB / 1.002 GB, free: 14.47 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/0.2635, allocations: 156.4 kB / 1.002 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of SimCode: time 1.803e-06/0.2635, allocations: 0 / 1.002 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of Templates: time 0.03385/0.2973, allocations: 26.6 MB / 1.028 GB, free: 4.176 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 5.964222624897957]