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.001003/0.001003, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001035/0.001035, allocations: 169 kB / 24.06 MB, free: 456 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.9199/0.9199, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.16/2.16, allocations: 429.5 MB / 0.6743 GB, free: 3.922 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.703e-06/1.703e-06, allocations: 0 / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.822e-05, allocations: 5.938 kB / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1362/0.1362, allocations: 148.2 MB / 1.024 GB, free: 1.266 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0188/0.155, allocations: 15.29 MB / 1.039 GB, free: 1.93 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001554/0.1566, allocations: 39.69 kB / 1.039 GB, free: 1.891 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.1578, allocations: 428.3 kB / 1.04 GB, free: 1.469 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003553/0.1614, allocations: 1.495 MB / 1.041 GB, free: 15.96 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.1643, allocations: 1.449 MB / 1.042 GB, free: 14.51 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003219/0.1675, allocations: 2.96 MB / 1.045 GB, free: 11.54 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001904/0.1694, allocations: 1.565 MB / 1.047 GB, free: 9.922 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003101/0.1725, allocations: 2.099 MB / 1.049 GB, free: 7.938 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009094/0.1734, allocations: 0.9037 MB / 1.05 GB, free: 7.031 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002498/0.1736, allocations: 220 kB / 1.05 GB, free: 6.816 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002309/0.1759, allocations: 1.092 MB / 1.051 GB, free: 5.723 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005455/0.1765, allocations: 0.8296 MB / 1.052 GB, free: 4.891 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0008443/0.1773, allocations: 0.826 MB / 1.053 GB, free: 4.062 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003871/0.1812, allocations: 2.627 MB / 1.055 GB, free: 1.426 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1812, allocations: 3.938 kB / 1.055 GB, free: 1.422 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1812, allocations: 0 / 1.055 GB, free: 1.422 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.844e-05/0.1813, allocations: 4 kB / 1.055 GB, free: 1.418 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.4126/0.5939, allocations: 2.86 MB / 1.058 GB, free: 76.08 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.5939, allocations: 14.91 kB / 1.058 GB, free: 76.08 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00234/0.5963, allocations: 0.8706 MB / 1.059 GB, free: 75.92 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.5977, allocations: 1.32 MB / 1.06 GB, free: 75.6 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.969e-05/0.5978, allocations: 133.4 kB / 1.06 GB, free: 75.6 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.5979, allocations: 190.2 kB / 1.06 GB, free: 75.6 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.5995, allocations: 1.982 MB / 1.062 GB, free: 74.5 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.5995, allocations: 1.031 kB / 1.062 GB, free: 74.5 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.5996, allocations: 74.97 kB / 1.062 GB, free: 74.5 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.5996, allocations: 44.09 kB / 1.063 GB, free: 74.5 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.6007, allocations: 1.005 MB / 1.063 GB, free: 74.46 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005047/0.6058, allocations: 3.891 MB / 1.067 GB, free: 73.39 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.607, allocations: 0.7957 MB / 1.068 GB, free: 73.35 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004148/0.6074, allocations: 324.1 kB / 1.068 GB, free: 73.34 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.6076, allocations: 76.91 kB / 1.068 GB, free: 73.34 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008644/0.6085, allocations: 1.212 MB / 1.07 GB, free: 72.48 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 4.498e-06/0.6085, allocations: 0.875 kB / 1.07 GB, free: 72.48 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.003145/0.6116, allocations: 1.511 MB / 1.071 GB, free: 72.25 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.6117, allocations: 209.2 kB / 1.071 GB, free: 72.03 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.6128, allocations: 1.25 MB / 1.073 GB, free: 71.78 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.6129, allocations: 65.58 kB / 1.073 GB, free: 71.75 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005117/0.6134, allocations: 0.9446 MB / 1.074 GB, free: 71.45 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002828/0.6137, allocations: 0.5227 MB / 1.074 GB, free: 71.11 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000336/0.614, allocations: 285.6 kB / 1.074 GB, free: 71.09 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.663e-05/0.6141, allocations: 0.5368 MB / 1.075 GB, free: 70.6 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/0.6144, allocations: 195.2 kB / 1.075 GB, free: 70.6 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/0.6149, allocations: 0.7476 MB / 1.076 GB, free: 70.02 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007894/0.6157, allocations: 0.569 MB / 1.076 GB, free: 69.94 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.6157, allocations: 3.375 kB / 1.076 GB, free: 69.94 MB / 1.01 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.001817/0.6175, allocations: 1.116 MB / 1.077 GB, free: 69.71 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.6176, allocations: 6 kB / 1.077 GB, free: 69.71 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.6176, allocations: 0 / 1.077 GB, free: 69.71 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008678/0.6184, allocations: 269 kB / 1.078 GB, free: 69.65 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.6195, allocations: 344.1 kB / 1.078 GB, free: 69.64 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003145/0.6226, allocations: 8.85 MB / 1.087 GB, free: 61.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009024/0.6235, allocations: 128.5 kB / 1.087 GB, free: 61.05 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-05/0.6236, allocations: 46.19 kB / 1.087 GB, free: 61.05 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.0005014/0.6241, allocations: 261 kB / 1.087 GB, free: 60.88 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003292/0.6244, allocations: 233.2 kB / 1.087 GB, free: 60.79 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.6266, allocations: 1.345 MB / 1.089 GB, free: 60.59 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.6266, allocations: 16.56 kB / 1.089 GB, free: 60.59 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6266, allocations: 2.75 kB / 1.089 GB, free: 60.59 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.6266, allocations: 8.156 kB / 1.089 GB, free: 60.59 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003569/0.6301, allocations: 2.53 MB / 1.091 GB, free: 60.08 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.6302, allocations: 0.7812 kB / 1.091 GB, free: 60.08 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009063/0.6311, allocations: 299.3 kB / 1.091 GB, free: 60.08 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007587/0.6318, allocations: 259.1 kB / 1.092 GB, free: 60.02 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.122e-05/0.6319, allocations: 37.42 kB / 1.092 GB, free: 60.02 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003064/0.635, allocations: 8.861 MB / 1.1 GB, free: 51.46 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.635, allocations: 0.9062 kB / 1.1 GB, free: 51.46 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.6372, allocations: 1.357 MB / 1.102 GB, free: 51.04 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006969/0.6379, allocations: 378.1 kB / 1.102 GB, free: 50.92 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/0.6381, allocations: 36.5 kB / 1.102 GB, free: 50.92 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007072/0.6388, allocations: 77 kB / 1.102 GB, free: 50.92 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/0.6391, allocations: 119.3 kB / 1.102 GB, free: 50.92 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/0.6392, allocations: 60.27 kB / 1.102 GB, free: 50.92 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0008197/0.64, allocations: 0.7555 MB / 1.103 GB, free: 50.77 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.9e-07/0.64, allocations: 0 / 1.103 GB, free: 50.77 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001723/0.6417, allocations: 0.7186 MB / 1.104 GB, free: 50.65 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.001633/0.6434, allocations: 0.7624 MB / 1.104 GB, free: 50.46 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001857/0.6452, allocations: 1.621 MB / 1.106 GB, free: 49.54 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.6452, allocations: 2.875 kB / 1.106 GB, free: 49.54 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.6463, allocations: 1.311 MB / 1.107 GB, free: 48.67 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.6481, allocations: 0.5603 MB / 1.108 GB, free: 48.61 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005326/0.6535, allocations: 3.375 MB / 1.111 GB, free: 47.12 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.6539, allocations: 438.4 kB / 1.112 GB, free: 47.02 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001344/0.6552, allocations: 369.9 kB / 1.112 GB, free: 46.93 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/0.6567, allocations: 0.675 MB / 1.113 GB, free: 46.86 MB / 1.01 GB Notification: Performance of SimCode: time 1.433e-06/0.6567, allocations: 0.9688 kB / 1.113 GB, free: 46.86 MB / 1.01 GB Notification: Performance of Templates: time 0.04887/0.7056, allocations: 35.27 MB / 1.147 GB, free: 43.27 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.27898853411898]