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.0009486/0.0009486, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.0009889/0.0009889, allocations: 181 kB / 24.09 MB, free: 420 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.9538/0.9538, allocations: 177.1 MB / 204.5 MB, free: 5.52 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 1.848/1.848, allocations: 377.9 MB / 0.624 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.423e-06/1.423e-06, allocations: 0 / 0.812 GB, free: 312 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.17e-05/1.313e-05, allocations: 6.906 kB / 0.812 GB, free: 304 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1231/0.1231, allocations: 148.2 MB / 0.9568 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01706/0.1402, allocations: 15.32 MB / 0.9717 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.1413, allocations: 43.62 kB / 0.9718 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.1425, allocations: 428.3 kB / 0.9722 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.003334/0.1458, allocations: 1.519 MB / 0.9737 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002622/0.1484, allocations: 1.469 MB / 0.9751 GB, free: 8.734 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002911/0.1513, allocations: 2.972 MB / 0.978 GB, free: 5.75 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.1533, allocations: 1.653 MB / 0.9796 GB, free: 4.035 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003346/0.1566, allocations: 2.081 MB / 0.9816 GB, free: 2.098 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.1576, allocations: 0.9113 MB / 0.9825 GB, free: 1.184 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0002744/0.1579, allocations: 216 kB / 0.9827 GB, free: 0.9727 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.1596, allocations: 1.1 MB / 0.9838 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0005637/0.1601, allocations: 0.8335 MB / 0.9846 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0007383/0.1609, allocations: 0.826 MB / 0.9854 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002444/0.1633, allocations: 2.635 MB / 0.988 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1633, allocations: 0 / 0.988 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.22e-07/0.1633, allocations: 0 / 0.988 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.592e-05/0.1634, allocations: 0 / 0.988 GB, free: 11.56 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.002531/0.1659, allocations: 2.885 MB / 0.9908 GB, free: 8.617 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1659, allocations: 8.031 kB / 0.9908 GB, free: 8.609 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002102/0.168, allocations: 0.875 MB / 0.9917 GB, free: 7.73 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.1694, allocations: 1.345 MB / 0.993 GB, free: 6.344 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.925e-05/0.1695, allocations: 131.4 kB / 0.9931 GB, free: 6.215 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.1696, allocations: 184 kB / 0.9933 GB, free: 6.035 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.1711, allocations: 1.99 MB / 0.9952 GB, free: 3.812 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.1711, allocations: 0 / 0.9952 GB, free: 3.812 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.1712, allocations: 72 kB / 0.9953 GB, free: 3.742 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/0.1713, allocations: 44 kB / 0.9954 GB, free: 3.699 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.1723, allocations: 1.007 MB / 0.9963 GB, free: 2.684 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004127/0.1765, allocations: 3.884 MB / 1 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009382/0.1774, allocations: 0.7959 MB / 1.001 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003215/0.1777, allocations: 322.4 kB / 1.001 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/0.1779, allocations: 116.4 kB / 1.001 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007945/0.1787, allocations: 1.212 MB / 1.003 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=154): time 2.825e-06/0.1787, allocations: 3.938 kB / 1.003 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of matching and sorting (n=154): time 0.002374/0.1811, allocations: 1.498 MB / 1.004 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.1811, allocations: 209.2 kB / 1.004 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008749/0.182, allocations: 1.254 MB / 1.005 GB, free: 9.047 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.447e-05/0.1821, allocations: 69.7 kB / 1.005 GB, free: 8.973 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004991/0.1826, allocations: 0.9611 MB / 1.006 GB, free: 7.996 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/0.1829, allocations: 0.5189 MB / 1.007 GB, free: 7.473 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/0.1831, allocations: 285 kB / 1.007 GB, free: 7.188 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1833, allocations: 0.5354 MB / 1.008 GB, free: 6.645 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.1835, allocations: 195.8 kB / 1.008 GB, free: 6.453 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000479/0.184, allocations: 0.7457 MB / 1.009 GB, free: 5.57 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006419/0.1847, allocations: 0.5744 MB / 1.009 GB, free: 4.984 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1847, allocations: 0 / 1.009 GB, free: 4.984 MB / 0.9167 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.00138/0.186, allocations: 1.127 MB / 1.01 GB, free: 3.828 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1861, allocations: 7.938 kB / 1.01 GB, free: 3.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1861, allocations: 0 / 1.01 GB, free: 3.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006555/0.1867, allocations: 266.2 kB / 1.011 GB, free: 3.535 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007271/0.1874, allocations: 343.5 kB / 1.011 GB, free: 3.199 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003593/0.191, allocations: 8.845 MB / 1.02 GB, free: 9.777 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005048/0.1915, allocations: 139.2 kB / 1.02 GB, free: 9.641 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.999e-05/0.1916, allocations: 47.97 kB / 1.02 GB, free: 9.594 MB / 0.9323 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.0003138/0.1919, allocations: 259.1 kB / 1.02 GB, free: 9.328 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.1922, allocations: 230.8 kB / 1.02 GB, free: 9.102 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.1938, allocations: 1.346 MB / 1.021 GB, free: 7.723 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.1939, allocations: 16 kB / 1.021 GB, free: 7.707 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1939, allocations: 4 kB / 1.021 GB, free: 7.703 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.1939, allocations: 7.969 kB / 1.022 GB, free: 7.695 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003101/0.197, allocations: 2.547 MB / 1.024 GB, free: 5.082 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.197, allocations: 4 kB / 1.024 GB, free: 5.078 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006845/0.1977, allocations: 303.6 kB / 1.024 GB, free: 4.781 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006243/0.1983, allocations: 266 kB / 1.025 GB, free: 4.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.465e-05/0.1984, allocations: 39.97 kB / 1.025 GB, free: 4.461 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4024/0.6007, allocations: 8.844 MB / 1.033 GB, free: 76.53 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6007, allocations: 0.5156 kB / 1.033 GB, free: 76.53 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002653/0.6034, allocations: 1.359 MB / 1.035 GB, free: 76.23 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006504/0.604, allocations: 372.8 kB / 1.035 GB, free: 76.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.6042, allocations: 38.69 kB / 1.035 GB, free: 76.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005532/0.6047, allocations: 72.38 kB / 1.035 GB, free: 76.23 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/0.605, allocations: 120.3 kB / 1.035 GB, free: 76.23 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.6051, allocations: 61.59 kB / 1.035 GB, free: 76.23 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009881/0.6061, allocations: 0.7605 MB / 1.036 GB, free: 76.08 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.6061, allocations: 0 / 1.036 GB, free: 76.08 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001741/0.6078, allocations: 0.7159 MB / 1.037 GB, free: 76.08 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.001558/0.6094, allocations: 0.7734 MB / 1.037 GB, free: 75.95 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.6112, allocations: 1.612 MB / 1.039 GB, free: 75.05 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.6112, allocations: 3.828 kB / 1.039 GB, free: 75.04 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009789/0.6121, allocations: 1.311 MB / 1.04 GB, free: 74.18 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.6137, allocations: 0.5972 MB / 1.041 GB, free: 74.13 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004917/0.6186, allocations: 3.378 MB / 1.044 GB, free: 72.66 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.6191, allocations: 443.3 kB / 1.045 GB, free: 72.55 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001202/0.6203, allocations: 363.1 kB / 1.045 GB, free: 72.49 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/0.6216, allocations: 0.6876 MB / 1.046 GB, free: 72.43 MB / 0.9323 GB Notification: Performance of SimCode: time 1.463e-06/0.6216, allocations: 2.188 kB / 1.046 GB, free: 72.43 MB / 0.9323 GB Notification: Performance of Templates: time 0.04487/0.6665, allocations: 35.18 MB / 1.08 GB, free: 67.4 MB / 0.9323 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: 6.56262769177556]