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.00137/0.00137, allocations: 80.92 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.001473/0.001473, 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.9647/0.9647, allocations: 177.1 MB / 204.6 MB, free: 4.746 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.866/1.866, allocations: 377.9 MB / 0.624 GB, free: 8.309 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.523e-06/1.523e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.2e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1384/0.1385, allocations: 150.4 MB / 0.9069 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01699/0.1554, allocations: 15.57 MB / 0.9221 GB, free: 156 kB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007937/0.1562, allocations: 39.69 kB / 0.9222 GB, free: 116 kB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009513/0.1572, allocations: 428.3 kB / 0.9226 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.16, allocations: 1.472 MB / 0.924 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.1619, allocations: 1.437 MB / 0.9254 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001958/0.1638, allocations: 2.983 MB / 0.9283 GB, free: 9.773 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002168/0.166, allocations: 1.934 MB / 0.9302 GB, free: 7.871 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001817/0.1678, allocations: 1.888 MB / 0.9321 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007187/0.1685, allocations: 0.9074 MB / 0.933 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.1687, allocations: 216 kB / 0.9332 GB, free: 4.93 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.1701, allocations: 1.154 MB / 0.9343 GB, free: 3.773 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.000448/0.1705, allocations: 0.8295 MB / 0.9351 GB, free: 2.941 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0005414/0.1711, allocations: 0.8299 MB / 0.9359 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.1731, allocations: 2.627 MB / 0.9385 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1731, allocations: 8 kB / 0.9385 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1731, allocations: 0 / 0.9385 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.1731, allocations: 0 / 0.9385 GB, free: 15.46 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.002276/0.1754, allocations: 2.694 MB / 0.9411 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.1754, allocations: 8.031 kB / 0.9411 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002084/0.1775, allocations: 0.8139 MB / 0.9419 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.1787, allocations: 1.137 MB / 0.943 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.447e-05/0.1788, allocations: 135.4 kB / 0.9432 GB, free: 10.58 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.179, allocations: 188 kB / 0.9433 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.1804, allocations: 1.988 MB / 0.9453 GB, free: 8.188 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.1804, allocations: 3.984 kB / 0.9453 GB, free: 8.184 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.119e-05/0.1805, allocations: 71.98 kB / 0.9453 GB, free: 8.113 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.1806, allocations: 44 kB / 0.9454 GB, free: 8.07 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009554/0.1815, allocations: 0.8671 MB / 0.9462 GB, free: 7.191 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003602/0.1851, allocations: 2.987 MB / 0.9492 GB, free: 4.141 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000852/0.186, allocations: 0.7563 MB / 0.9499 GB, free: 3.379 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.1863, allocations: 279.6 kB / 0.9502 GB, free: 3.102 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.1864, allocations: 81.25 kB / 0.9502 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007351/0.1871, allocations: 1.2 MB / 0.9514 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=154): time 2.665e-06/0.1871, allocations: 0 / 0.9514 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of matching and sorting (n=154): time 0.001965/0.1891, allocations: 1.164 MB / 0.9525 GB, free: 480 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.1892, allocations: 205.2 kB / 0.9527 GB, free: 232 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008063/0.19, allocations: 1.166 MB / 0.9539 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.213e-05/0.1901, allocations: 61.7 kB / 0.9539 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.1904, allocations: 0.628 MB / 0.9545 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/0.1906, allocations: 0.5188 MB / 0.9551 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/0.1909, allocations: 259.4 kB / 0.9553 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.486e-05/0.191, allocations: 365.8 kB / 0.9557 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.1912, allocations: 162.7 kB / 0.9558 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/0.1916, allocations: 0.667 MB / 0.9565 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005758/0.1922, allocations: 0.5452 MB / 0.957 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.1922, allocations: 4 kB / 0.957 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.00109/0.1933, allocations: 0.8125 MB / 0.9578 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1933, allocations: 8 kB / 0.9578 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.1933, allocations: 3.938 kB / 0.9578 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006396/0.194, allocations: 248 kB / 0.958 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008776/0.1948, allocations: 391.4 kB / 0.9584 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002858/0.1977, allocations: 6.061 MB / 0.9643 GB, free: 3.688 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004949/0.1982, allocations: 141.6 kB / 0.9645 GB, free: 3.551 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-05/0.1983, allocations: 43.95 kB / 0.9645 GB, free: 3.508 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.0003028/0.1986, allocations: 207 kB / 0.9647 GB, free: 3.293 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.1987, allocations: 163.8 kB / 0.9649 GB, free: 3.133 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.2001, allocations: 1.075 MB / 0.9659 GB, free: 2.031 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.2001, allocations: 19.94 kB / 0.9659 GB, free: 2.012 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2001, allocations: 4 kB / 0.9659 GB, free: 2.008 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.2001, allocations: 7.969 kB / 0.9659 GB, free: 2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.2025, allocations: 2.056 MB / 0.9679 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.2025, allocations: 0 / 0.9679 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008144/0.2033, allocations: 376.1 kB / 0.9683 GB, free: 15.52 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005324/0.2038, allocations: 232.1 kB / 0.9685 GB, free: 15.28 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.896e-05/0.2039, allocations: 31.97 kB / 0.9686 GB, free: 15.25 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00271/0.2066, allocations: 6.081 MB / 0.9745 GB, free: 8.73 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2066, allocations: 0 / 0.9745 GB, free: 8.73 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.2077, allocations: 1.024 MB / 0.9755 GB, free: 7.668 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/0.2081, allocations: 298.3 kB / 0.9758 GB, free: 7.375 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.2082, allocations: 32 kB / 0.9758 GB, free: 7.344 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/0.2087, allocations: 75.94 kB / 0.9759 GB, free: 7.27 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.2088, allocations: 117.7 kB / 0.976 GB, free: 7.156 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.555e-05/0.2089, allocations: 55.94 kB / 0.976 GB, free: 7.102 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004724/0.2094, allocations: 0.6086 MB / 0.9766 GB, free: 6.492 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.2094, allocations: 0 / 0.9766 GB, free: 6.492 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00121/0.2106, allocations: 0.7209 MB / 0.9773 GB, free: 5.77 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.001649/0.2122, allocations: 0.8917 MB / 0.9782 GB, free: 5.141 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.2134, allocations: 1.251 MB / 0.9794 GB, free: 3.82 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/0.2134, allocations: 16.89 kB / 0.9795 GB, free: 3.805 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006827/0.2141, allocations: 1.001 MB / 0.9804 GB, free: 2.742 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.2152, allocations: 0.5853 MB / 0.981 GB, free: 2.172 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/0.2188, allocations: 3.359 MB / 0.9843 GB, free: 14.77 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.2191, allocations: 436.8 kB / 0.9847 GB, free: 14.31 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000779/0.2199, allocations: 360.7 kB / 0.985 GB, free: 13.95 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/0.221, allocations: 0.5925 MB / 0.9856 GB, free: 13.35 MB / 0.948 GB Notification: Performance of SimCode: time 6.92e-07/0.221, allocations: 0 / 0.9856 GB, free: 13.35 MB / 0.948 GB Notification: Performance of Templates: time 0.03851/0.2595, allocations: 35.08 MB / 1.02 GB, free: 10.93 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 -s gbode -gbm=radauIIA3 -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.19452065275982]