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.0009346/0.0009346, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001032/0.001032, allocations: 173 kB / 23.03 MB, free: 1.543 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.9685/0.9685, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.146/2.146, allocations: 429.5 MB / 0.6733 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 1.723e-06/1.723e-06, allocations: 0 / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.538e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1568/0.1568, allocations: 151.1 MB / 1.026 GB, free: 14.69 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0171/0.1739, allocations: 15.54 MB / 1.041 GB, free: 15.11 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.1753, allocations: 39.69 kB / 1.041 GB, free: 15.07 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.1764, allocations: 428.2 kB / 1.041 GB, free: 14.64 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003222/0.1796, allocations: 1.499 MB / 1.043 GB, free: 13.14 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002759/0.1823, allocations: 1.453 MB / 1.044 GB, free: 11.68 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002936/0.1853, allocations: 2.96 MB / 1.047 GB, free: 8.711 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002114/0.1874, allocations: 1.565 MB / 1.049 GB, free: 7.09 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003739/0.1911, allocations: 2.083 MB / 1.051 GB, free: 5.121 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.1926, allocations: 0.9114 MB / 1.052 GB, free: 4.207 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0004082/0.193, allocations: 216 kB / 1.052 GB, free: 3.996 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.1951, allocations: 1.096 MB / 1.053 GB, free: 2.898 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005439/0.1956, allocations: 0.8296 MB / 1.054 GB, free: 2.066 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0009511/0.1966, allocations: 0.83 MB / 1.054 GB, free: 1.234 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.6279/0.8244, allocations: 2.62 MB / 1.057 GB, free: 55.68 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.8245, allocations: 0.9844 kB / 1.057 GB, free: 55.68 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8245, allocations: 0 / 1.057 GB, free: 55.68 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001038/0.8246, allocations: 0 / 1.057 GB, free: 55.68 MB / 1.01 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.003493/0.8281, allocations: 2.874 MB / 1.06 GB, free: 54.26 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.8281, allocations: 9.641 kB / 1.06 GB, free: 54.26 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002314/0.8304, allocations: 0.8651 MB / 1.061 GB, free: 54 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.8319, allocations: 1.381 MB / 1.062 GB, free: 53.59 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.285e-05/0.832, allocations: 135.8 kB / 1.062 GB, free: 53.58 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.8321, allocations: 183.2 kB / 1.062 GB, free: 53.58 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.834, allocations: 2.098 MB / 1.064 GB, free: 52.49 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.8341, allocations: 0.8438 kB / 1.064 GB, free: 52.49 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.8342, allocations: 80.41 kB / 1.064 GB, free: 52.49 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/0.8342, allocations: 44.44 kB / 1.064 GB, free: 52.49 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/0.8364, allocations: 1.192 MB / 1.066 GB, free: 52.46 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00644/0.8428, allocations: 4.166 MB / 1.07 GB, free: 51.29 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.8442, allocations: 0.8999 MB / 1.071 GB, free: 51.24 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004762/0.8447, allocations: 381.6 kB / 1.071 GB, free: 51.22 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/0.8449, allocations: 78.31 kB / 1.071 GB, free: 51.22 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.8459, allocations: 1.261 MB / 1.072 GB, free: 50.38 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 4.178e-06/0.8459, allocations: 0.875 kB / 1.072 GB, free: 50.38 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.003118/0.849, allocations: 1.671 MB / 1.074 GB, free: 50.14 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/0.8491, allocations: 207.5 kB / 1.074 GB, free: 49.92 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.8502, allocations: 1.313 MB / 1.075 GB, free: 49.67 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-05/0.8503, allocations: 65.31 kB / 1.075 GB, free: 49.64 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000441/0.8507, allocations: 0.935 MB / 1.076 GB, free: 49.26 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.8509, allocations: 0.5171 MB / 1.077 GB, free: 48.91 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.8512, allocations: 278.5 kB / 1.077 GB, free: 48.89 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.653e-05/0.8513, allocations: 0.53 MB / 1.078 GB, free: 48.41 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/0.8517, allocations: 255.3 kB / 1.078 GB, free: 48.4 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005525/0.8522, allocations: 0.7986 MB / 1.079 GB, free: 47.82 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008781/0.8531, allocations: 0.6741 MB / 1.079 GB, free: 47.74 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.8531, allocations: 0 / 1.079 GB, free: 47.74 MB / 1.01 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.001687/0.8548, allocations: 1.246 MB / 1.081 GB, free: 47.5 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.8548, allocations: 5.656 kB / 1.081 GB, free: 47.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.8548, allocations: 4.625 kB / 1.081 GB, free: 47.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007497/0.8556, allocations: 272.8 kB / 1.081 GB, free: 47.44 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000795/0.8564, allocations: 352.7 kB / 1.081 GB, free: 47.44 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002858/0.8592, allocations: 8.973 MB / 1.09 GB, free: 38.78 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005658/0.8598, allocations: 131.1 kB / 1.09 GB, free: 38.73 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.98e-05/0.8599, allocations: 60.5 kB / 1.09 GB, free: 38.73 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.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.0003146/0.8602, allocations: 258.7 kB / 1.09 GB, free: 38.56 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.8604, allocations: 238.4 kB / 1.091 GB, free: 38.46 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/0.8623, allocations: 1.456 MB / 1.092 GB, free: 38.27 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.8623, allocations: 17.22 kB / 1.092 GB, free: 38.27 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8623, allocations: 2.75 kB / 1.092 GB, free: 38.27 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.8623, allocations: 11.11 kB / 1.092 GB, free: 38.27 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003644/0.8659, allocations: 2.907 MB / 1.095 GB, free: 37.72 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.866, allocations: 3.984 kB / 1.095 GB, free: 37.71 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007866/0.8667, allocations: 310.1 kB / 1.095 GB, free: 37.71 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006451/0.8674, allocations: 263.5 kB / 1.095 GB, free: 37.65 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.001e-05/0.8675, allocations: 42.31 kB / 1.095 GB, free: 37.65 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002822/0.8703, allocations: 8.988 MB / 1.104 GB, free: 28.98 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.8703, allocations: 6.797 kB / 1.104 GB, free: 28.98 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.8724, allocations: 1.461 MB / 1.106 GB, free: 28.56 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00046/0.8729, allocations: 390.3 kB / 1.106 GB, free: 28.44 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.873, allocations: 34.88 kB / 1.106 GB, free: 28.44 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004978/0.8735, allocations: 74.61 kB / 1.106 GB, free: 28.44 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/0.8737, allocations: 130.2 kB / 1.106 GB, free: 28.43 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.8738, allocations: 72.78 kB / 1.106 GB, free: 28.43 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0008509/0.8747, allocations: 0.8265 MB / 1.107 GB, free: 28.28 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.8747, allocations: 1.406 kB / 1.107 GB, free: 28.28 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001618/0.8763, allocations: 0.7139 MB / 1.108 GB, free: 28.16 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.001564/0.8779, allocations: 0.7606 MB / 1.109 GB, free: 27.96 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0017/0.8796, allocations: 1.727 MB / 1.11 GB, free: 27.05 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.8796, allocations: 4.031 kB / 1.11 GB, free: 27.05 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009581/0.8805, allocations: 1.375 MB / 1.112 GB, free: 26.17 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.8819, allocations: 0.5617 MB / 1.112 GB, free: 26.11 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004795/0.8867, allocations: 3.399 MB / 1.115 GB, free: 24.62 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.8871, allocations: 439.2 kB / 1.116 GB, free: 24.52 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00101/0.8881, allocations: 460.9 kB / 1.116 GB, free: 24.43 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003705/0.8884, allocations: 173.5 kB / 1.117 GB, free: 24.43 MB / 1.01 GB Notification: Performance of SimCode: time 9.12e-07/0.8884, allocations: 0 / 1.117 GB, free: 24.43 MB / 1.01 GB Notification: Performance of Templates: time 0.04601/0.9344, allocations: 33.98 MB / 1.15 GB, free: 20.79 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 -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.7077883733436465]