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.0009082/0.0009082, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.0009544/0.0009544, allocations: 169 kB / 23.27 MB, free: 1.223 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.8989/0.8989, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.315/2.315, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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.914e-06/1.914e-06, allocations: 3.938 kB / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.643e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1292/0.1292, allocations: 148.2 MB / 1.034 GB, free: 4.996 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01502/0.1443, allocations: 15.28 MB / 1.049 GB, free: 5.668 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009935/0.1453, allocations: 43.62 kB / 1.049 GB, free: 5.625 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0008997/0.1462, allocations: 424.3 kB / 1.05 GB, free: 5.207 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002475/0.1486, allocations: 1.488 MB / 1.051 GB, free: 3.711 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.1507, allocations: 1.465 MB / 1.053 GB, free: 2.242 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.4241/0.5748, allocations: 2.967 MB / 1.056 GB, free: 49.3 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.5768, allocations: 1.564 MB / 1.057 GB, free: 49.18 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/0.5799, allocations: 2.075 MB / 1.059 GB, free: 49.17 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009885/0.5809, allocations: 0.9059 MB / 1.06 GB, free: 49.17 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0003529/0.5812, allocations: 219 kB / 1.06 GB, free: 49.17 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.5828, allocations: 1.093 MB / 1.061 GB, free: 49.17 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004522/0.5832, allocations: 0.8294 MB / 1.062 GB, free: 49.17 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0008394/0.5841, allocations: 0.827 MB / 1.063 GB, free: 49.17 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002645/0.5867, allocations: 2.631 MB / 1.066 GB, free: 49 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5867, allocations: 1 kB / 1.066 GB, free: 49 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.012e-06/0.5867, allocations: 0 / 1.066 GB, free: 49 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.499e-05/0.5868, allocations: 0 / 1.066 GB, free: 49 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.002679/0.5895, allocations: 2.874 MB / 1.068 GB, free: 47.59 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.5895, allocations: 12.12 kB / 1.068 GB, free: 47.59 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002176/0.5917, allocations: 0.8714 MB / 1.069 GB, free: 47.33 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.593, allocations: 1.319 MB / 1.07 GB, free: 46.9 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.504e-05/0.5931, allocations: 133.5 kB / 1.071 GB, free: 46.89 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.5932, allocations: 187.4 kB / 1.071 GB, free: 46.89 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.5946, allocations: 1.985 MB / 1.073 GB, free: 45.8 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.5946, allocations: 3.125 kB / 1.073 GB, free: 45.8 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.375e-05/0.5947, allocations: 75.69 kB / 1.073 GB, free: 45.8 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.5948, allocations: 40.88 kB / 1.073 GB, free: 45.8 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009494/0.5957, allocations: 1.004 MB / 1.074 GB, free: 45.76 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004111/0.5998, allocations: 3.891 MB / 1.078 GB, free: 44.62 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009153/0.6007, allocations: 0.8017 MB / 1.078 GB, free: 44.56 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/0.601, allocations: 322.7 kB / 1.079 GB, free: 44.54 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.6012, allocations: 117.9 kB / 1.079 GB, free: 44.52 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006587/0.6019, allocations: 1.201 MB / 1.08 GB, free: 43.67 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 3.056e-06/0.6019, allocations: 0 / 1.08 GB, free: 43.67 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.002329/0.6042, allocations: 1.509 MB / 1.081 GB, free: 43.43 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.6043, allocations: 207.1 kB / 1.082 GB, free: 43.21 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008502/0.6051, allocations: 1.248 MB / 1.083 GB, free: 42.96 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.866e-05/0.6052, allocations: 63.05 kB / 1.083 GB, free: 42.93 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004175/0.6056, allocations: 0.9566 MB / 1.084 GB, free: 42.55 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.6058, allocations: 0.5166 MB / 1.084 GB, free: 42.21 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.6061, allocations: 283.3 kB / 1.085 GB, free: 42.18 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.974e-05/0.6062, allocations: 0.5367 MB / 1.085 GB, free: 41.7 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.6064, allocations: 198 kB / 1.085 GB, free: 41.7 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004113/0.6068, allocations: 0.7393 MB / 1.086 GB, free: 41.11 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006248/0.6075, allocations: 0.573 MB / 1.087 GB, free: 41.04 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.6075, allocations: 2.844 kB / 1.087 GB, free: 41.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.00151/0.609, allocations: 1.126 MB / 1.088 GB, free: 40.79 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.609, allocations: 6 kB / 1.088 GB, free: 40.79 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.609, allocations: 1.188 kB / 1.088 GB, free: 40.79 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006796/0.6097, allocations: 270.1 kB / 1.088 GB, free: 40.73 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000819/0.6105, allocations: 337.6 kB / 1.088 GB, free: 40.73 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002593/0.6131, allocations: 8.848 MB / 1.097 GB, free: 32.18 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007134/0.6138, allocations: 136 kB / 1.097 GB, free: 32.13 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.548e-05/0.6139, allocations: 46.45 kB / 1.097 GB, free: 32.13 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.0004939/0.6144, allocations: 257.7 kB / 1.097 GB, free: 31.96 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/0.6146, allocations: 234.7 kB / 1.098 GB, free: 31.86 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.6164, allocations: 1.345 MB / 1.099 GB, free: 31.65 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.6164, allocations: 16.47 kB / 1.099 GB, free: 31.65 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.6164, allocations: 2.156 kB / 1.099 GB, free: 31.65 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.6164, allocations: 11.12 kB / 1.099 GB, free: 31.65 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003241/0.6196, allocations: 2.53 MB / 1.101 GB, free: 31.14 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.6196, allocations: 0.8438 kB / 1.101 GB, free: 31.14 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006932/0.6203, allocations: 299.5 kB / 1.102 GB, free: 31.14 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005956/0.6209, allocations: 258.5 kB / 1.102 GB, free: 31.07 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.217e-05/0.621, allocations: 43.67 kB / 1.102 GB, free: 31.07 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003318/0.6243, allocations: 8.867 MB / 1.111 GB, free: 38.51 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6243, allocations: 4.125 kB / 1.111 GB, free: 38.51 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.6262, allocations: 1.355 MB / 1.112 GB, free: 38.09 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005235/0.6267, allocations: 366.9 kB / 1.112 GB, free: 37.97 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.6269, allocations: 36.09 kB / 1.112 GB, free: 37.97 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005128/0.6274, allocations: 74.38 kB / 1.112 GB, free: 37.96 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.6275, allocations: 126.3 kB / 1.113 GB, free: 37.96 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.6276, allocations: 59.38 kB / 1.113 GB, free: 37.96 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0007925/0.6284, allocations: 0.7488 MB / 1.113 GB, free: 37.81 MB / 1.026 GB Notification: Performance of sort global known variables: time 7e-08/0.6284, allocations: 0.9688 kB / 1.113 GB, free: 37.81 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001547/0.63, allocations: 0.7264 MB / 1.114 GB, free: 37.69 MB / 1.026 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.001522/0.6315, allocations: 0.7634 MB / 1.115 GB, free: 37.48 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.00168/0.6332, allocations: 1.604 MB / 1.116 GB, free: 36.58 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.6332, allocations: 3.125 kB / 1.116 GB, free: 36.58 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0009315/0.6341, allocations: 1.321 MB / 1.118 GB, free: 35.7 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.6356, allocations: 0.5697 MB / 1.118 GB, free: 35.63 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004665/0.6403, allocations: 3.369 MB / 1.122 GB, free: 34.14 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.6408, allocations: 435 kB / 1.122 GB, free: 34.04 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.001203/0.642, allocations: 355.2 kB / 1.122 GB, free: 33.96 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/0.6433, allocations: 0.6807 MB / 1.123 GB, free: 33.89 MB / 1.026 GB Notification: Performance of SimCode: time 1.533e-06/0.6433, allocations: 0 / 1.123 GB, free: 33.89 MB / 1.026 GB Notification: Performance of Templates: time 0.04797/0.6913, allocations: 34.76 MB / 1.157 GB, free: 30.43 MB / 1.026 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: 6.936758479103446]