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.000913/0.000913, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009079/0.0009079, allocations: 161 kB / 24.16 MB, free: 332 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.9595/0.9595, allocations: 177.1 MB / 204.6 MB, free: 4.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.833/1.833, allocations: 377.9 MB / 0.624 GB, free: 8.312 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.282e-06/1.282e-06, allocations: 0 / 0.76 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/1.92e-05, allocations: 2.312 kB / 0.76 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1416/0.1416, allocations: 150.3 MB / 0.9068 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01849/0.1601, allocations: 15.58 MB / 0.922 GB, free: 252 kB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.1612, allocations: 43.62 kB / 0.9221 GB, free: 208 kB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009014/0.1621, allocations: 416.3 kB / 0.9225 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002749/0.1648, allocations: 1.523 MB / 0.924 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.167, allocations: 1.461 MB / 0.9254 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002245/0.1692, allocations: 2.987 MB / 0.9283 GB, free: 9.797 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.1708, allocations: 1.681 MB / 0.93 GB, free: 8.039 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002795/0.1736, allocations: 2.078 MB / 0.932 GB, free: 6.105 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009083/0.1745, allocations: 0.8996 MB / 0.9329 GB, free: 5.203 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0002536/0.1748, allocations: 220 kB / 0.9331 GB, free: 4.988 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.1764, allocations: 1.092 MB / 0.9341 GB, free: 3.895 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0004957/0.1769, allocations: 0.8295 MB / 0.935 GB, free: 3.062 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.000678/0.1775, allocations: 0.83 MB / 0.9358 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002634/0.1802, allocations: 2.631 MB / 0.9383 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1802, allocations: 4 kB / 0.9383 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1802, allocations: 0 / 0.9383 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.474e-05/0.1802, allocations: 0 / 0.9383 GB, free: 15.58 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.002623/0.1828, allocations: 2.694 MB / 0.941 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 2.816e-05/0.1829, allocations: 8.031 kB / 0.941 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.1849, allocations: 0.8139 MB / 0.9418 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.1861, allocations: 1.136 MB / 0.9429 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.782e-05/0.1862, allocations: 139.4 kB / 0.943 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.1863, allocations: 184 kB / 0.9432 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.1878, allocations: 1.991 MB / 0.9451 GB, free: 8.301 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.1878, allocations: 0 / 0.9451 GB, free: 8.301 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.53e-05/0.1879, allocations: 79.98 kB / 0.9452 GB, free: 8.223 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.1879, allocations: 44 kB / 0.9453 GB, free: 8.18 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000924/0.1888, allocations: 0.8632 MB / 0.9461 GB, free: 7.305 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003581/0.1924, allocations: 2.991 MB / 0.949 GB, free: 4.25 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008406/0.1932, allocations: 0.7485 MB / 0.9497 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.1935, allocations: 283.6 kB / 0.95 GB, free: 3.215 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.1937, allocations: 81.27 kB / 0.9501 GB, free: 3.137 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007386/0.1944, allocations: 1.197 MB / 0.9513 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=154): time 2.845e-06/0.1944, allocations: 0 / 0.9513 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of matching and sorting (n=154): time 0.00193/0.1964, allocations: 1.164 MB / 0.9524 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.1965, allocations: 209.2 kB / 0.9526 GB, free: 348 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008526/0.1973, allocations: 1.159 MB / 0.9537 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.773e-05/0.1974, allocations: 73.53 kB / 0.9538 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.1977, allocations: 0.628 MB / 0.9544 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000247/0.1979, allocations: 0.5111 MB / 0.9549 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002364/0.1982, allocations: 259.4 kB / 0.9552 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002211/0.1984, allocations: 365.8 kB / 0.9555 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.1986, allocations: 170.7 kB / 0.9557 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.199, allocations: 0.6631 MB / 0.9563 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005482/0.1996, allocations: 0.5451 MB / 0.9569 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1996, allocations: 0 / 0.9569 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.001062/0.2006, allocations: 0.8242 MB / 0.9577 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.2006, allocations: 4 kB / 0.9577 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.2007, allocations: 7.938 kB / 0.9577 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/0.2013, allocations: 244 kB / 0.9579 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007017/0.202, allocations: 327.5 kB / 0.9582 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.2049, allocations: 6.064 MB / 0.9641 GB, free: 3.855 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004676/0.2054, allocations: 139.4 kB / 0.9643 GB, free: 3.719 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/0.2055, allocations: 39.97 kB / 0.9643 GB, free: 3.68 MB / 0.9167 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.0002979/0.2058, allocations: 207 kB / 0.9645 GB, free: 3.461 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.2059, allocations: 159.8 kB / 0.9647 GB, free: 3.305 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.2075, allocations: 1.079 MB / 0.9657 GB, free: 2.199 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.2075, allocations: 19.94 kB / 0.9657 GB, free: 2.18 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.2075, allocations: 4 kB / 0.9657 GB, free: 2.176 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.2075, allocations: 7.969 kB / 0.9657 GB, free: 2.168 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/0.2098, allocations: 2.056 MB / 0.9677 GB, free: 60 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2098, allocations: 0 / 0.9677 GB, free: 60 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006426/0.2105, allocations: 291.6 kB / 0.968 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005056/0.211, allocations: 236.1 kB / 0.9683 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.404e-05/0.211, allocations: 35.97 kB / 0.9683 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002814/0.2139, allocations: 6.071 MB / 0.9742 GB, free: 8.984 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2139, allocations: 0 / 0.9742 GB, free: 8.984 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.2149, allocations: 1.019 MB / 0.9752 GB, free: 7.93 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003724/0.2153, allocations: 290.3 kB / 0.9755 GB, free: 7.645 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.2154, allocations: 39.98 kB / 0.9755 GB, free: 7.605 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004334/0.2159, allocations: 76.83 kB / 0.9756 GB, free: 7.535 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.216, allocations: 125.6 kB / 0.9757 GB, free: 7.414 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.026e-05/0.2161, allocations: 47.95 kB / 0.9758 GB, free: 7.367 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005023/0.2166, allocations: 0.6366 MB / 0.9764 GB, free: 6.727 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9e-08/0.2166, allocations: 4 kB / 0.9764 GB, free: 6.723 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001171/0.2178, allocations: 0.717 MB / 0.9771 GB, free: 6.004 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.001638/0.2194, allocations: 0.8855 MB / 0.978 GB, free: 5.379 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001134/0.2205, allocations: 1.251 MB / 0.9792 GB, free: 4.059 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/0.2205, allocations: 16.89 kB / 0.9792 GB, free: 4.043 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009795/0.2215, allocations: 1.013 MB / 0.9802 GB, free: 2.969 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.2228, allocations: 0.5814 MB / 0.9807 GB, free: 2.41 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.2264, allocations: 3.359 MB / 0.984 GB, free: 15 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.2267, allocations: 440.7 kB / 0.9844 GB, free: 14.55 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007579/0.2274, allocations: 368.7 kB / 0.9848 GB, free: 14.18 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/0.2285, allocations: 0.5809 MB / 0.9854 GB, free: 13.59 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/0.2285, allocations: 0 / 0.9854 GB, free: 13.59 MB / 0.948 GB Notification: Performance of Templates: time 0.03914/0.2676, allocations: 35.08 MB / 1.02 GB, free: 11.17 MB / 0.9792 GB " [Timeout remaining time 300] 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.194756121840328]