Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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.001314/0.001314, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.001492/0.001492, allocations: 172.2 kB / 24.87 MB, free: 8.883 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.9522/0.9522, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.884/1.884, allocations: 377.9 MB / 0.6247 GB, free: 8.387 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_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.8128 GB, free: 332 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.186e-05, allocations: 3.219 kB / 0.8128 GB, free: 328 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1293/0.1293, allocations: 148.2 MB / 0.9575 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01538/0.1447, allocations: 15.33 MB / 0.9725 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008048/0.1455, allocations: 39.62 kB / 0.9725 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.1466, allocations: 432.2 kB / 0.973 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002399/0.149, allocations: 1.507 MB / 0.9744 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.1512, allocations: 1.469 MB / 0.9759 GB, free: 8.766 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002026/0.1532, allocations: 2.983 MB / 0.9788 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.1547, allocations: 1.645 MB / 0.9804 GB, free: 4.062 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002538/0.1573, allocations: 2.088 MB / 0.9824 GB, free: 2.117 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007619/0.158, allocations: 0.9152 MB / 0.9833 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.000214/0.1582, allocations: 220 kB / 0.9835 GB, free: 0.9844 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.1596, allocations: 1.096 MB / 0.9846 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0004563/0.16, allocations: 0.8257 MB / 0.9854 GB, free: 15.06 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0008278/0.1609, allocations: 0.8339 MB / 0.9862 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.163, allocations: 2.627 MB / 0.9888 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1631, allocations: 0 / 0.9888 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1631, allocations: 0 / 0.9888 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.969e-05/0.1631, allocations: 0 / 0.9888 GB, free: 11.59 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.002572/0.1656, allocations: 2.896 MB / 0.9916 GB, free: 8.629 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.1657, allocations: 11.97 kB / 0.9916 GB, free: 8.617 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/0.1679, allocations: 0.8634 MB / 0.9925 GB, free: 7.75 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.1692, allocations: 1.334 MB / 0.9938 GB, free: 6.375 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.1693, allocations: 135.4 kB / 0.9939 GB, free: 6.242 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.1694, allocations: 184 kB / 0.9941 GB, free: 6.062 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.1711, allocations: 1.994 MB / 0.996 GB, free: 3.836 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.1712, allocations: 0 / 0.996 GB, free: 3.836 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.1713, allocations: 76 kB / 0.9961 GB, free: 3.762 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.1713, allocations: 40 kB / 0.9961 GB, free: 3.723 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.1725, allocations: 1.007 MB / 0.9971 GB, free: 2.707 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00432/0.1768, allocations: 3.895 MB / 1.001 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009606/0.1777, allocations: 0.7919 MB / 1.002 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.1781, allocations: 326.3 kB / 1.002 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.1782, allocations: 81.27 kB / 1.002 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007837/0.179, allocations: 1.212 MB / 1.003 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=154): time 8.115e-06/0.179, allocations: 0 / 1.003 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of matching and sorting (n=154): time 0.002435/0.1815, allocations: 1.498 MB / 1.005 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.1815, allocations: 205.2 kB / 1.005 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008648/0.1824, allocations: 1.265 MB / 1.006 GB, free: 9.086 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.257e-05/0.1825, allocations: 65.7 kB / 1.006 GB, free: 9.016 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007572/0.1832, allocations: 0.9611 MB / 1.007 GB, free: 8.039 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.1835, allocations: 0.5267 MB / 1.008 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/0.1838, allocations: 277.1 kB / 1.008 GB, free: 7.23 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1839, allocations: 0.5392 MB / 1.008 GB, free: 6.684 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.1842, allocations: 191.8 kB / 1.009 GB, free: 6.496 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004701/0.1847, allocations: 0.7496 MB / 1.009 GB, free: 5.609 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006554/0.1853, allocations: 0.5705 MB / 1.01 GB, free: 5.027 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1853, allocations: 0 / 1.01 GB, free: 5.027 MB / 0.9167 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.001461/0.1868, allocations: 1.116 MB / 1.011 GB, free: 3.883 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1868, allocations: 15.94 kB / 1.011 GB, free: 3.867 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.413e-06/0.1868, allocations: 0 / 1.011 GB, free: 3.867 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006975/0.1875, allocations: 266.2 kB / 1.011 GB, free: 3.582 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007783/0.1883, allocations: 339.5 kB / 1.012 GB, free: 3.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003954/0.1922, allocations: 8.845 MB / 1.02 GB, free: 9.828 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005384/0.1928, allocations: 135.2 kB / 1.02 GB, free: 9.695 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.449e-05/0.1928, allocations: 51.95 kB / 1.02 GB, free: 9.645 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.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 (166): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007713/0.1936, allocations: 250.9 kB / 1.021 GB, free: 9.387 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002445/0.1939, allocations: 246.8 kB / 1.021 GB, free: 9.145 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.1955, allocations: 1.358 MB / 1.022 GB, free: 7.754 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.1955, allocations: 16 kB / 1.022 GB, free: 7.738 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1956, allocations: 0 / 1.022 GB, free: 7.738 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.1956, allocations: 7.969 kB / 1.022 GB, free: 7.73 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002854/0.1984, allocations: 2.531 MB / 1.025 GB, free: 5.133 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1984, allocations: 0 / 1.025 GB, free: 5.133 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006945/0.1991, allocations: 299.6 kB / 1.025 GB, free: 4.84 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005832/0.1997, allocations: 262.1 kB / 1.025 GB, free: 4.562 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.136e-05/0.1998, allocations: 39.97 kB / 1.025 GB, free: 4.523 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4205/0.6202, allocations: 8.856 MB / 1.034 GB, free: 76.54 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6202, allocations: 0.6562 kB / 1.034 GB, free: 76.54 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/0.6227, allocations: 1.355 MB / 1.035 GB, free: 76.23 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006324/0.6233, allocations: 369.5 kB / 1.036 GB, free: 76.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/0.6235, allocations: 41.78 kB / 1.036 GB, free: 76.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006117/0.6241, allocations: 74.12 kB / 1.036 GB, free: 76.23 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002474/0.6244, allocations: 125.5 kB / 1.036 GB, free: 76.23 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.6245, allocations: 58.7 kB / 1.036 GB, free: 76.23 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009142/0.6254, allocations: 0.7595 MB / 1.037 GB, free: 76.08 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6254, allocations: 1.781 kB / 1.037 GB, free: 76.08 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001731/0.6272, allocations: 0.715 MB / 1.037 GB, free: 76.08 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (157): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001619/0.6288, allocations: 0.7694 MB / 1.038 GB, free: 75.95 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001796/0.6306, allocations: 1.609 MB / 1.04 GB, free: 75.04 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/0.6306, allocations: 2.781 kB / 1.04 GB, free: 75.04 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.6317, allocations: 1.319 MB / 1.041 GB, free: 74.18 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.6334, allocations: 0.6087 MB / 1.042 GB, free: 74.12 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005596/0.639, allocations: 3.373 MB / 1.045 GB, free: 72.66 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.6395, allocations: 439 kB / 1.045 GB, free: 72.55 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001222/0.6407, allocations: 355.7 kB / 1.046 GB, free: 72.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/0.642, allocations: 0.6858 MB / 1.046 GB, free: 72.43 MB / 0.9323 GB Notification: Performance of SimCode: time 1.543e-06/0.642, allocations: 0.5469 kB / 1.046 GB, free: 72.43 MB / 0.9323 GB Notification: Performance of Templates: time 0.04339/0.6854, allocations: 35.72 MB / 1.081 GB, free: 67 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.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.815478692296892]