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.001551/0.001551, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001927/0.001927, allocations: 165 kB / 23.82 MB, free: 0.7461 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 1.028/1.028, allocations: 177.1 MB / 204.2 MB, free: 5.648 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 2.021/2.021, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.404e-06/2.404e-06, allocations: 0 / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.016e-05/3.256e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.147/0.147, allocations: 151.1 MB / 0.9591 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01336/0.1604, allocations: 15.57 MB / 0.9743 GB, free: 10.51 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005136/0.1609, allocations: 43.62 kB / 0.9744 GB, free: 10.47 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.000844/0.1617, allocations: 428.3 kB / 0.9748 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.1638, allocations: 1.488 MB / 0.9762 GB, free: 8.551 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.1655, allocations: 1.465 MB / 0.9777 GB, free: 7.082 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001901/0.1674, allocations: 2.987 MB / 0.9806 GB, free: 4.086 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.1689, allocations: 1.653 MB / 0.9822 GB, free: 2.371 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002584/0.1715, allocations: 2.042 MB / 0.9842 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007675/0.1723, allocations: 0.9464 MB / 0.9851 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002172/0.1725, allocations: 228 kB / 0.9853 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.1738, allocations: 1.107 MB / 0.9864 GB, free: 14.19 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004822/0.1742, allocations: 0.8452 MB / 0.9872 GB, free: 13.34 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005746/0.1748, allocations: 0.8456 MB / 0.9881 GB, free: 12.49 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002103/0.1769, allocations: 2.674 MB / 0.9907 GB, free: 9.809 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1769, allocations: 0 / 0.9907 GB, free: 9.809 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1769, allocations: 0 / 0.9907 GB, free: 9.809 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.1769, allocations: 0 / 0.9907 GB, free: 9.809 MB / 0.948 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.00315/0.1801, allocations: 2.897 MB / 0.9935 GB, free: 6.855 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1801, allocations: 8.031 kB / 0.9935 GB, free: 6.848 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.1823, allocations: 0.879 MB / 0.9944 GB, free: 5.965 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.1839, allocations: 1.388 MB / 0.9957 GB, free: 4.539 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.509e-05/0.184, allocations: 143.4 kB / 0.9958 GB, free: 4.398 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.1841, allocations: 184 kB / 0.996 GB, free: 4.219 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.1863, allocations: 2.18 MB / 0.9982 GB, free: 1.785 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.1863, allocations: 0 / 0.9982 GB, free: 1.785 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.1864, allocations: 75.98 kB / 0.9982 GB, free: 1.711 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/0.1864, allocations: 44 kB / 0.9983 GB, free: 1.668 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.1878, allocations: 1.198 MB / 0.9994 GB, free: 476 kB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004425/0.1923, allocations: 4.209 MB / 1.004 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.1935, allocations: 0.902 MB / 1.004 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004715/0.194, allocations: 375.8 kB / 1.005 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/0.1942, allocations: 89.25 kB / 1.005 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001249/0.1954, allocations: 1.275 MB / 1.006 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=154): time 2.655e-06/0.1954, allocations: 0 / 1.006 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of matching and sorting (n=154): time 0.002901/0.1983, allocations: 1.666 MB / 1.008 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.484e-05/0.1984, allocations: 205.2 kB / 1.008 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.1995, allocations: 1.344 MB / 1.009 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.747e-05/0.1996, allocations: 61.7 kB / 1.009 GB, free: 5.984 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.00051/0.2001, allocations: 0.9418 MB / 1.01 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.2004, allocations: 0.5151 MB / 1.011 GB, free: 4.508 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/0.2007, allocations: 285.2 kB / 1.011 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2008, allocations: 0.5277 MB / 1.012 GB, free: 3.684 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/0.2012, allocations: 255.8 kB / 1.012 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008188/0.202, allocations: 0.9388 MB / 1.013 GB, free: 2.32 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009238/0.203, allocations: 0.676 MB / 1.013 GB, free: 1.633 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.203, allocations: 4 kB / 1.013 GB, free: 1.629 MB / 0.9636 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.001736/0.2047, allocations: 1.248 MB / 1.015 GB, free: 360 kB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2047, allocations: 4 kB / 1.015 GB, free: 356 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.2047, allocations: 4 kB / 1.015 GB, free: 352 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007397/0.2055, allocations: 270.2 kB / 1.015 GB, free: 60 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008124/0.2063, allocations: 351.6 kB / 1.015 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004109/0.2104, allocations: 8.986 MB / 1.024 GB, free: 6.117 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000534/0.2109, allocations: 142.2 kB / 1.024 GB, free: 5.98 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.051e-05/0.211, allocations: 59.95 kB / 1.024 GB, free: 5.922 MB / 0.9792 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.000325/0.2113, allocations: 258.9 kB / 1.024 GB, free: 5.656 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/0.2116, allocations: 230.8 kB / 1.025 GB, free: 5.43 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/0.2136, allocations: 1.471 MB / 1.026 GB, free: 3.926 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.2136, allocations: 16 kB / 1.026 GB, free: 3.91 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2136, allocations: 7.938 kB / 1.026 GB, free: 3.902 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.2136, allocations: 7.969 kB / 1.026 GB, free: 3.895 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003384/0.217, allocations: 2.942 MB / 1.029 GB, free: 0.8633 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.217, allocations: 0 / 1.029 GB, free: 0.8633 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000718/0.2177, allocations: 319.6 kB / 1.029 GB, free: 0.5508 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006001/0.2183, allocations: 254.1 kB / 1.029 GB, free: 288 kB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-05/0.2184, allocations: 43.97 kB / 1.03 GB, free: 244 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004761/0.2232, allocations: 8.99 MB / 1.038 GB, free: 6.625 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2232, allocations: 0 / 1.038 GB, free: 6.625 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002414/0.2256, allocations: 1.477 MB / 1.04 GB, free: 5.105 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006975/0.2263, allocations: 398.2 kB / 1.04 GB, free: 4.715 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.2264, allocations: 32 kB / 1.04 GB, free: 4.684 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/0.227, allocations: 78 kB / 1.04 GB, free: 4.609 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/0.2272, allocations: 125.9 kB / 1.04 GB, free: 4.484 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002341/0.2274, allocations: 71.94 kB / 1.04 GB, free: 4.414 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0008597/0.2283, allocations: 0.8463 MB / 1.041 GB, free: 3.57 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2283, allocations: 4 kB / 1.041 GB, free: 3.566 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00148/0.2298, allocations: 0.7171 MB / 1.042 GB, free: 2.848 MB / 0.9948 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.001821/0.2316, allocations: 0.7739 MB / 1.043 GB, free: 2.242 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002198/0.2338, allocations: 1.737 MB / 1.044 GB, free: 424 kB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.2338, allocations: 4.719 kB / 1.044 GB, free: 420 kB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.2349, allocations: 1.367 MB / 1.046 GB, free: 14.95 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.2364, allocations: 0.5914 MB / 1.046 GB, free: 14.38 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005157/0.2416, allocations: 3.412 MB / 1.05 GB, free: 10.92 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.2419, allocations: 440.8 kB / 1.05 GB, free: 10.46 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001129/0.2431, allocations: 456.6 kB / 1.051 GB, free: 10.01 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004074/0.2435, allocations: 184.4 kB / 1.051 GB, free: 9.832 MB / 1.01 GB Notification: Performance of SimCode: time 2.414e-06/0.2435, allocations: 0 / 1.051 GB, free: 9.832 MB / 1.01 GB Notification: Performance of Templates: time 0.4653/0.7088, allocations: 32.73 MB / 1.083 GB, free: 136.2 MB / 1.01 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: 7.13829031214118]