Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008727/0.0008727, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.00093/0.00093, allocations: 173 kB / 23.36 MB, free: 1.133 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.9185/0.9185, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.298/2.298, allocations: 438.8 MB / 0.6826 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.685e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1456/0.1456, allocations: 150.3 MB / 0.9854 GB, free: 7.277 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01377/0.1594, allocations: 15.54 MB / 1.001 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000702/0.1601, allocations: 35.69 kB / 1.001 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000788/0.1609, allocations: 416.3 kB / 1.001 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.002425/0.1633, allocations: 1.511 MB / 1.002 GB, free: 5.727 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.1655, allocations: 1.449 MB / 1.004 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001897/0.1674, allocations: 2.968 MB / 1.007 GB, free: 1.293 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.1686, allocations: 1.593 MB / 1.008 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002379/0.171, allocations: 2.076 MB / 1.01 GB, free: 13.7 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008781/0.1719, allocations: 0.8958 MB / 1.011 GB, free: 12.8 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.1721, allocations: 220 kB / 1.011 GB, free: 12.58 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.1734, allocations: 1.092 MB / 1.013 GB, free: 11.49 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0004427/0.1738, allocations: 0.8334 MB / 1.013 GB, free: 10.65 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0005548/0.1744, allocations: 0.8261 MB / 1.014 GB, free: 9.824 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.002019/0.1764, allocations: 2.631 MB / 1.017 GB, free: 7.184 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1764, allocations: 0 / 1.017 GB, free: 7.184 MB / 0.9792 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1764, allocations: 0 / 1.017 GB, free: 7.184 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.903e-05/0.1764, allocations: 0 / 1.017 GB, free: 7.184 MB / 0.9792 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.002316/0.1787, allocations: 2.674 MB / 1.019 GB, free: 4.465 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.1788, allocations: 12.56 kB / 1.019 GB, free: 4.453 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/0.1807, allocations: 0.8178 MB / 1.02 GB, free: 3.633 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.1819, allocations: 1.113 MB / 1.021 GB, free: 2.469 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-05/0.1819, allocations: 139.4 kB / 1.021 GB, free: 2.332 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.1821, allocations: 180 kB / 1.022 GB, free: 2.156 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.1834, allocations: 1.991 MB / 1.023 GB, free: 15.94 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.1834, allocations: 4 kB / 1.023 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.336e-05/0.1835, allocations: 76 kB / 1.024 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.1835, allocations: 40 kB / 1.024 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.1846, allocations: 0.8631 MB / 1.024 GB, free: 14.95 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00336/0.1879, allocations: 2.999 MB / 1.027 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008188/0.1888, allocations: 0.7484 MB / 1.028 GB, free: 11.13 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.189, allocations: 287.6 kB / 1.028 GB, free: 10.85 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.1892, allocations: 85.25 kB / 1.028 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000682/0.1899, allocations: 1.2 MB / 1.03 GB, free: 9.395 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=154): time 2.505e-06/0.1899, allocations: 0 / 1.03 GB, free: 9.395 MB / 0.9948 GB Notification: Performance of matching and sorting (n=154): time 0.001872/0.1917, allocations: 1.157 MB / 1.031 GB, free: 8.219 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.1918, allocations: 205.2 kB / 1.031 GB, free: 7.977 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008895/0.1927, allocations: 1.157 MB / 1.032 GB, free: 6.797 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.584e-05/0.1928, allocations: 65.7 kB / 1.032 GB, free: 6.727 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/0.1931, allocations: 0.6239 MB / 1.033 GB, free: 6.09 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000253/0.1933, allocations: 0.515 MB / 1.033 GB, free: 5.57 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/0.1936, allocations: 259.4 kB / 1.033 GB, free: 5.309 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.963e-05/0.1936, allocations: 369.7 kB / 1.034 GB, free: 4.941 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.1939, allocations: 162.7 kB / 1.034 GB, free: 4.781 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.1943, allocations: 0.667 MB / 1.035 GB, free: 3.996 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005461/0.1948, allocations: 0.5413 MB / 1.035 GB, free: 3.438 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1948, allocations: 0 / 1.035 GB, free: 3.438 MB / 0.9948 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.001046/0.1959, allocations: 0.8242 MB / 1.036 GB, free: 2.59 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1959, allocations: 4 kB / 1.036 GB, free: 2.586 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1959, allocations: 3.938 kB / 1.036 GB, free: 2.582 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006053/0.1965, allocations: 256 kB / 1.036 GB, free: 2.316 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006989/0.1972, allocations: 331.5 kB / 1.037 GB, free: 1.992 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002793/0.2, allocations: 6.059 MB / 1.042 GB, free: 11.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004504/0.2004, allocations: 135.3 kB / 1.043 GB, free: 11.36 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.599e-05/0.2005, allocations: 35.97 kB / 1.043 GB, free: 11.33 MB / 1.01 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.0003081/0.2008, allocations: 211 kB / 1.043 GB, free: 11.11 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.201, allocations: 159.8 kB / 1.043 GB, free: 10.95 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.2023, allocations: 1.071 MB / 1.044 GB, free: 9.852 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.2023, allocations: 19.94 kB / 1.044 GB, free: 9.832 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2023, allocations: 4 kB / 1.044 GB, free: 9.828 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.2023, allocations: 7.969 kB / 1.044 GB, free: 9.82 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.2048, allocations: 2.04 MB / 1.046 GB, free: 7.727 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2048, allocations: 4 kB / 1.046 GB, free: 7.723 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006206/0.2054, allocations: 291.6 kB / 1.046 GB, free: 7.438 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004972/0.2059, allocations: 236 kB / 1.047 GB, free: 7.191 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.607e-05/0.206, allocations: 47.94 kB / 1.047 GB, free: 7.145 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002621/0.2086, allocations: 6.067 MB / 1.053 GB, free: 0.6406 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2086, allocations: 0 / 1.053 GB, free: 0.6406 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4763/0.6849, allocations: 1.003 MB / 1.054 GB, free: 77.62 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009032/0.6858, allocations: 294.1 kB / 1.054 GB, free: 77.62 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002691/0.686, allocations: 32.67 kB / 1.054 GB, free: 77.62 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006153/0.6867, allocations: 71.23 kB / 1.054 GB, free: 77.62 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002413/0.6869, allocations: 116.6 kB / 1.054 GB, free: 77.62 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.687, allocations: 56.36 kB / 1.054 GB, free: 77.62 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000844/0.6879, allocations: 0.6285 MB / 1.055 GB, free: 77.56 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.51e-07/0.6879, allocations: 1.344 kB / 1.055 GB, free: 77.56 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001623/0.6895, allocations: 0.7113 MB / 1.055 GB, free: 77.56 MB / 1.01 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 (156): * Single equations (assignments): 141 * 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.002105/0.6916, allocations: 0.8938 MB / 1.056 GB, free: 77.44 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001721/0.6933, allocations: 1.258 MB / 1.057 GB, free: 76.84 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.161e-05/0.6934, allocations: 17.14 kB / 1.057 GB, free: 76.84 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009394/0.6943, allocations: 0.9971 MB / 1.058 GB, free: 76.27 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.6961, allocations: 0.5572 MB / 1.059 GB, free: 76.23 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00541/0.7015, allocations: 3.352 MB / 1.062 GB, free: 74.79 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/0.7021, allocations: 437.1 kB / 1.063 GB, free: 74.69 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001449/0.7036, allocations: 358.8 kB / 1.063 GB, free: 74.63 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/0.705, allocations: 0.5819 MB / 1.064 GB, free: 74.58 MB / 1.01 GB Notification: Performance of SimCode: time 2.695e-06/0.705, allocations: 0 / 1.064 GB, free: 74.58 MB / 1.01 GB Notification: Performance of Templates: time 0.04709/0.7521, allocations: 34.67 MB / 1.097 GB, free: 71.45 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 7.033920648973435]