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.0009674/0.0009674, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001045/0.001045, allocations: 177 kB / 23.36 MB, free: 1.137 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.9454/0.9454, allocations: 177.2 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.436/2.436, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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 2.063e-06/2.063e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.334e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1461/0.1461, allocations: 150.4 MB / 0.9855 GB, free: 7.207 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01618/0.1623, allocations: 15.54 MB / 1.001 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.1638, allocations: 43.62 kB / 1.001 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.1649, allocations: 416.4 kB / 1.001 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.003701/0.1686, allocations: 1.46 MB / 1.003 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002913/0.1716, allocations: 1.418 MB / 1.004 GB, free: 4.273 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.003371/0.1749, allocations: 2.975 MB / 1.007 GB, free: 1.285 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003178/0.1781, allocations: 1.852 MB / 1.009 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003074/0.1812, allocations: 1.889 MB / 1.01 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.1825, allocations: 0.8881 MB / 1.011 GB, free: 12.75 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0004725/0.183, allocations: 216 kB / 1.012 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.1851, allocations: 1.158 MB / 1.013 GB, free: 11.38 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0005864/0.1857, allocations: 0.8334 MB / 1.013 GB, free: 10.55 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0007814/0.1865, allocations: 0.8261 MB / 1.014 GB, free: 9.719 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.003269/0.1897, allocations: 2.631 MB / 1.017 GB, free: 7.078 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1897, allocations: 0 / 1.017 GB, free: 7.078 MB / 0.9792 GB Notification: Performance of FrontEnd: time 8.52e-07/0.1897, allocations: 0 / 1.017 GB, free: 7.078 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.22e-05/0.1898, allocations: 0 / 1.017 GB, free: 7.078 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.002912/0.1927, allocations: 2.678 MB / 1.019 GB, free: 4.355 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1928, allocations: 8.625 kB / 1.019 GB, free: 4.348 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002335/0.1951, allocations: 0.8178 MB / 1.02 GB, free: 3.527 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.1965, allocations: 1.117 MB / 1.021 GB, free: 2.359 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.851e-05/0.1966, allocations: 135.4 kB / 1.021 GB, free: 2.227 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.1967, allocations: 180 kB / 1.022 GB, free: 2.051 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.1983, allocations: 1.991 MB / 1.024 GB, free: 15.84 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.1984, allocations: 0 / 1.024 GB, free: 15.84 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.185e-05/0.1985, allocations: 80 kB / 1.024 GB, free: 15.76 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.1985, allocations: 40 kB / 1.024 GB, free: 15.72 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009601/0.1994, allocations: 0.867 MB / 1.025 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004019/0.2035, allocations: 2.991 MB / 1.027 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008843/0.2044, allocations: 0.7639 MB / 1.028 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.2047, allocations: 287.6 kB / 1.029 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001554/0.2048, allocations: 85.25 kB / 1.029 GB, free: 10.64 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007631/0.2056, allocations: 1.188 MB / 1.03 GB, free: 9.285 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=154): time 2.525e-06/0.2056, allocations: 0 / 1.03 GB, free: 9.285 MB / 0.9948 GB Notification: Performance of matching and sorting (n=154): time 0.002061/0.2076, allocations: 1.16 MB / 1.031 GB, free: 8.105 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.3e-05/0.2077, allocations: 213.2 kB / 1.031 GB, free: 7.855 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.2088, allocations: 1.153 MB / 1.032 GB, free: 6.68 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.71e-05/0.2089, allocations: 65.7 kB / 1.032 GB, free: 6.609 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003098/0.2092, allocations: 0.6201 MB / 1.033 GB, free: 5.977 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/0.2095, allocations: 0.515 MB / 1.033 GB, free: 5.457 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/0.2098, allocations: 259.4 kB / 1.034 GB, free: 5.195 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.2099, allocations: 369.7 kB / 1.034 GB, free: 4.828 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/0.2101, allocations: 162.7 kB / 1.034 GB, free: 4.668 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.2105, allocations: 0.667 MB / 1.035 GB, free: 3.883 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005823/0.2111, allocations: 0.5374 MB / 1.035 GB, free: 3.328 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2111, allocations: 4 kB / 1.035 GB, free: 3.324 MB / 0.9948 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.00113/0.2122, allocations: 0.8242 MB / 1.036 GB, free: 2.477 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.2123, allocations: 6.5 kB / 1.036 GB, free: 2.473 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.2123, allocations: 3.938 kB / 1.036 GB, free: 2.469 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000663/0.2129, allocations: 256 kB / 1.036 GB, free: 2.203 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008962/0.2138, allocations: 383.5 kB / 1.037 GB, free: 1.828 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003318/0.2171, allocations: 6.056 MB / 1.043 GB, free: 11.34 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006727/0.2178, allocations: 127.2 kB / 1.043 GB, free: 11.21 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.176e-05/0.2179, allocations: 47.98 kB / 1.043 GB, free: 11.16 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.0004885/0.2184, allocations: 207 kB / 1.043 GB, free: 10.95 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.2186, allocations: 159.8 kB / 1.043 GB, free: 10.79 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/0.22, allocations: 1.071 MB / 1.044 GB, free: 9.691 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.22, allocations: 19.94 kB / 1.044 GB, free: 9.672 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.22, allocations: 3.938 kB / 1.044 GB, free: 9.668 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.22, allocations: 15.97 kB / 1.044 GB, free: 9.652 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002868/0.2229, allocations: 2.044 MB / 1.046 GB, free: 7.555 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.2229, allocations: 0 / 1.046 GB, free: 7.555 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008353/0.2237, allocations: 376.1 kB / 1.047 GB, free: 7.184 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005417/0.2243, allocations: 240 kB / 1.047 GB, free: 6.934 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.947e-05/0.2243, allocations: 39.97 kB / 1.047 GB, free: 6.895 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003074/0.2274, allocations: 6.074 MB / 1.053 GB, free: 396 kB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2274, allocations: 0 / 1.053 GB, free: 396 kB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4847/0.7121, allocations: 1.011 MB / 1.054 GB, free: 77.92 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006162/0.7128, allocations: 286.6 kB / 1.054 GB, free: 77.92 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.7129, allocations: 37.91 kB / 1.054 GB, free: 77.92 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005567/0.7135, allocations: 75.08 kB / 1.054 GB, free: 77.92 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002641/0.7138, allocations: 117.8 kB / 1.054 GB, free: 77.92 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.7139, allocations: 54.42 kB / 1.054 GB, free: 77.92 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0008426/0.7147, allocations: 0.6013 MB / 1.055 GB, free: 77.87 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7147, allocations: 0.75 kB / 1.055 GB, free: 77.87 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001626/0.7163, allocations: 0.7135 MB / 1.056 GB, free: 77.87 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.001996/0.7183, allocations: 0.8854 MB / 1.056 GB, free: 77.75 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001431/0.7198, allocations: 1.256 MB / 1.058 GB, free: 77.15 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.921e-05/0.7198, allocations: 17.2 kB / 1.058 GB, free: 77.15 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008622/0.7207, allocations: 0.9979 MB / 1.059 GB, free: 76.57 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.722, allocations: 0.5587 MB / 1.059 GB, free: 76.54 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004581/0.7265, allocations: 3.352 MB / 1.063 GB, free: 75.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.727, allocations: 438.6 kB / 1.063 GB, free: 74.99 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001031/0.728, allocations: 366.4 kB / 1.063 GB, free: 74.93 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/0.7293, allocations: 0.5748 MB / 1.064 GB, free: 74.88 MB / 1.01 GB Notification: Performance of SimCode: time 1.914e-06/0.7293, allocations: 0.875 kB / 1.064 GB, free: 74.88 MB / 1.01 GB Notification: Performance of Templates: time 0.04533/0.7746, allocations: 34.67 MB / 1.098 GB, free: 71.76 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 -s gbode -gbm=radauIIA3 -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.074310912750661]