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.001395/0.001395, allocations: 93.06 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.001585/0.001585, allocations: 169 kB / 23.02 MB, free: 1.551 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.01/1.01, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.015/2.015, allocations: 429.5 MB / 0.6733 GB, free: 4.027 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.563e-06/1.563e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.754e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1464/0.1465, allocations: 151.1 MB / 1.026 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01491/0.1614, allocations: 15.53 MB / 1.041 GB, free: 15.11 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.1625, allocations: 43.62 kB / 1.041 GB, free: 15.06 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0009658/0.1634, allocations: 424.3 kB / 1.041 GB, free: 14.64 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.00306/0.1665, allocations: 1.48 MB / 1.043 GB, free: 13.16 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002565/0.1691, allocations: 1.461 MB / 1.044 GB, free: 11.69 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002881/0.1719, allocations: 2.96 MB / 1.047 GB, free: 8.723 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.1736, allocations: 1.573 MB / 1.049 GB, free: 7.094 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002726/0.1764, allocations: 2.044 MB / 1.051 GB, free: 5.168 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008838/0.1772, allocations: 0.9426 MB / 1.052 GB, free: 4.223 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002515/0.1775, allocations: 228 kB / 1.052 GB, free: 4 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.1791, allocations: 1.104 MB / 1.053 GB, free: 2.895 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004729/0.1796, allocations: 0.8491 MB / 1.054 GB, free: 2.043 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005917/0.1802, allocations: 0.8456 MB / 1.054 GB, free: 1.195 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.4945/0.6747, allocations: 2.667 MB / 1.057 GB, free: 55.79 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6747, allocations: 0 / 1.057 GB, free: 55.79 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6747, allocations: 0.5938 kB / 1.057 GB, free: 55.79 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.122e-05/0.6748, allocations: 0 / 1.057 GB, free: 55.79 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.002929/0.6777, allocations: 2.879 MB / 1.06 GB, free: 54.37 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.6778, allocations: 13.06 kB / 1.06 GB, free: 54.37 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00222/0.68, allocations: 0.8704 MB / 1.061 GB, free: 54.11 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.6813, allocations: 1.382 MB / 1.062 GB, free: 53.71 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.196e-05/0.6814, allocations: 130.5 kB / 1.062 GB, free: 53.7 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.6815, allocations: 186.7 kB / 1.062 GB, free: 53.7 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.6832, allocations: 2.179 MB / 1.065 GB, free: 52.52 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.6832, allocations: 1.688 kB / 1.065 GB, free: 52.52 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.6833, allocations: 77.31 kB / 1.065 GB, free: 52.52 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/0.6834, allocations: 43.88 kB / 1.065 GB, free: 52.52 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.6847, allocations: 1.199 MB / 1.066 GB, free: 52.5 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004579/0.6893, allocations: 4.213 MB / 1.07 GB, free: 51.33 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.6907, allocations: 0.9011 MB / 1.071 GB, free: 51.27 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004747/0.6912, allocations: 374.4 kB / 1.071 GB, free: 51.26 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.6914, allocations: 83.16 kB / 1.071 GB, free: 51.26 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008545/0.6922, allocations: 1.264 MB / 1.073 GB, free: 50.41 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 2.775e-06/0.6922, allocations: 1.125 kB / 1.073 GB, free: 50.41 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.002822/0.6951, allocations: 1.674 MB / 1.074 GB, free: 50.17 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.6951, allocations: 205.4 kB / 1.074 GB, free: 49.95 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000991/0.6961, allocations: 1.333 MB / 1.076 GB, free: 49.7 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.268e-05/0.6962, allocations: 61.17 kB / 1.076 GB, free: 49.67 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003962/0.6966, allocations: 0.937 MB / 1.077 GB, free: 49.29 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.6968, allocations: 0.5215 MB / 1.077 GB, free: 48.95 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/0.6971, allocations: 280.9 kB / 1.077 GB, free: 48.92 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.349e-05/0.6972, allocations: 0.5319 MB / 1.078 GB, free: 48.44 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000411/0.6976, allocations: 256.6 kB / 1.078 GB, free: 48.43 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006283/0.6982, allocations: 0.9412 MB / 1.079 GB, free: 47.68 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009016/0.6991, allocations: 0.6765 MB / 1.08 GB, free: 47.6 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6991, allocations: 0.8438 kB / 1.08 GB, free: 47.6 MB / 1.01 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.001688/0.7008, allocations: 1.248 MB / 1.081 GB, free: 47.36 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7008, allocations: 5.875 kB / 1.081 GB, free: 47.36 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.7008, allocations: 0.7188 kB / 1.081 GB, free: 47.36 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007457/0.7016, allocations: 274.5 kB / 1.081 GB, free: 47.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007979/0.7024, allocations: 352.3 kB / 1.082 GB, free: 47.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/0.7051, allocations: 8.959 MB / 1.09 GB, free: 38.64 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000674/0.7058, allocations: 137.9 kB / 1.09 GB, free: 38.59 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.948e-05/0.7059, allocations: 63.72 kB / 1.09 GB, free: 38.59 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.0004047/0.7063, allocations: 257.7 kB / 1.091 GB, free: 38.42 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.7065, allocations: 236.3 kB / 1.091 GB, free: 38.32 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.7084, allocations: 1.458 MB / 1.092 GB, free: 38.13 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/0.7084, allocations: 16.09 kB / 1.092 GB, free: 38.13 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.7084, allocations: 3.531 kB / 1.092 GB, free: 38.13 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.7084, allocations: 6.797 kB / 1.092 GB, free: 38.13 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004297/0.7127, allocations: 2.925 MB / 1.095 GB, free: 37.59 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.7127, allocations: 2 kB / 1.095 GB, free: 37.59 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008054/0.7135, allocations: 315.4 kB / 1.096 GB, free: 37.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007144/0.7142, allocations: 266.8 kB / 1.096 GB, free: 37.52 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.476e-05/0.7143, allocations: 40.38 kB / 1.096 GB, free: 37.52 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002741/0.7171, allocations: 9 MB / 1.105 GB, free: 28.84 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.7171, allocations: 0 / 1.105 GB, free: 28.84 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.7192, allocations: 1.464 MB / 1.106 GB, free: 28.42 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005318/0.7197, allocations: 399.2 kB / 1.106 GB, free: 28.3 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.7198, allocations: 29.91 kB / 1.106 GB, free: 28.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005429/0.7204, allocations: 85.75 kB / 1.107 GB, free: 28.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/0.7206, allocations: 129.6 kB / 1.107 GB, free: 28.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/0.7207, allocations: 70.52 kB / 1.107 GB, free: 28.3 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000948/0.7217, allocations: 0.8439 MB / 1.108 GB, free: 28.14 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.7217, allocations: 0 / 1.108 GB, free: 28.14 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001699/0.7234, allocations: 0.7222 MB / 1.108 GB, free: 28.02 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.001494/0.7248, allocations: 0.7551 MB / 1.109 GB, free: 27.83 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001791/0.7266, allocations: 1.73 MB / 1.111 GB, free: 26.92 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7266, allocations: 2.219 kB / 1.111 GB, free: 26.92 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009084/0.7276, allocations: 1.374 MB / 1.112 GB, free: 26.04 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.729, allocations: 0.5761 MB / 1.113 GB, free: 25.98 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004537/0.7335, allocations: 3.404 MB / 1.116 GB, free: 24.49 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.7339, allocations: 440.8 kB / 1.116 GB, free: 24.38 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001004/0.7349, allocations: 456.6 kB / 1.117 GB, free: 24.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/0.7352, allocations: 176.3 kB / 1.117 GB, free: 24.3 MB / 1.01 GB Notification: Performance of SimCode: time 1.072e-06/0.7352, allocations: 0 / 1.117 GB, free: 24.3 MB / 1.01 GB Notification: Performance of Templates: time 0.04214/0.7774, allocations: 32.36 MB / 1.149 GB, free: 20.91 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.0842423709109426]