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.001387/0.001387, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001692/0.001692, allocations: 173 kB / 23.49 MB, free: 1.059 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.9256/0.9256, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.031/2.031, allocations: 429.5 MB / 0.6736 GB, free: 4.012 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.282e-06/1.282e-06, allocations: 3.938 kB / 0.8782 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.503e-05, allocations: 2.969 kB / 0.8782 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1583/0.1584, allocations: 164.3 MB / 1.039 GB, free: 1.809 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.4604/0.6187, allocations: 17.82 MB / 1.056 GB, free: 47.69 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.6202, allocations: 41.75 kB / 1.056 GB, free: 47.69 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.6215, allocations: 0.5634 MB / 1.057 GB, free: 47.69 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004251/0.6258, allocations: 1.87 MB / 1.058 GB, free: 47.69 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.6281, allocations: 1.464 MB / 1.06 GB, free: 47.69 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002774/0.6308, allocations: 2.982 MB / 1.063 GB, free: 47.68 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.6325, allocations: 1.564 MB / 1.064 GB, free: 47.52 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003397/0.6359, allocations: 2.142 MB / 1.066 GB, free: 47.34 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.6369, allocations: 0.9345 MB / 1.067 GB, free: 47.24 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002961/0.6372, allocations: 230 kB / 1.068 GB, free: 47.24 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.6395, allocations: 1.481 MB / 1.069 GB, free: 47.15 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000456/0.64, allocations: 0.8434 MB / 1.07 GB, free: 47.04 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007789/0.6407, allocations: 0.8468 MB / 1.071 GB, free: 46.94 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00457/0.6453, allocations: 2.827 MB / 1.073 GB, free: 46.55 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.6453, allocations: 0.9062 kB / 1.073 GB, free: 46.55 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.655e-06/0.6453, allocations: 0 / 1.073 GB, free: 46.55 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0001043/0.6454, allocations: 0 / 1.073 GB, free: 46.55 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.00361/0.649, allocations: 2.908 MB / 1.076 GB, free: 45.1 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.6491, allocations: 9.719 kB / 1.076 GB, free: 45.1 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00264/0.6517, allocations: 0.8693 MB / 1.077 GB, free: 44.84 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/0.6535, allocations: 1.388 MB / 1.078 GB, free: 44.42 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.107e-05/0.6536, allocations: 136.7 kB / 1.079 GB, free: 44.41 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.6538, allocations: 190.5 kB / 1.079 GB, free: 44.41 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.6558, allocations: 2.171 MB / 1.081 GB, free: 43.23 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.6558, allocations: 0.875 kB / 1.081 GB, free: 43.23 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.656, allocations: 75.56 kB / 1.081 GB, free: 43.23 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.656, allocations: 45.42 kB / 1.081 GB, free: 43.23 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.6574, allocations: 1.196 MB / 1.082 GB, free: 43.21 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006679/0.6641, allocations: 4.212 MB / 1.086 GB, free: 42.04 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/0.6661, allocations: 0.9058 MB / 1.087 GB, free: 41.98 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007019/0.6668, allocations: 375.7 kB / 1.087 GB, free: 41.96 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000365/0.6672, allocations: 129.4 kB / 1.088 GB, free: 41.96 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001396/0.6686, allocations: 1.26 MB / 1.089 GB, free: 41.11 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 4.639e-06/0.6686, allocations: 1.031 kB / 1.089 GB, free: 41.11 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.005048/0.6737, allocations: 1.664 MB / 1.09 GB, free: 40.88 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.979e-05/0.6737, allocations: 214.4 kB / 1.091 GB, free: 40.66 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/0.6757, allocations: 1.327 MB / 1.092 GB, free: 40.4 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001864/0.6759, allocations: 67.31 kB / 1.092 GB, free: 40.37 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006789/0.6766, allocations: 0.9376 MB / 1.093 GB, free: 39.99 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004021/0.677, allocations: 0.5125 MB / 1.093 GB, free: 39.65 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004218/0.6774, allocations: 282.7 kB / 1.094 GB, free: 39.62 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.804e-05/0.6775, allocations: 0.533 MB / 1.094 GB, free: 39.14 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006847/0.6782, allocations: 254.9 kB / 1.094 GB, free: 39.14 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009395/0.6791, allocations: 0.9381 MB / 1.095 GB, free: 38.38 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.6806, allocations: 0.6779 MB / 1.096 GB, free: 38.3 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.6806, allocations: 3.25 kB / 1.096 GB, free: 38.3 MB / 1.01 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002513/0.6831, allocations: 1.248 MB / 1.097 GB, free: 38.06 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.6831, allocations: 5.281 kB / 1.097 GB, free: 38.06 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.6831, allocations: 1.031 kB / 1.097 GB, free: 38.06 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008849/0.684, allocations: 275.1 kB / 1.098 GB, free: 38 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009116/0.6849, allocations: 352.2 kB / 1.098 GB, free: 38 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003042/0.688, allocations: 8.974 MB / 1.107 GB, free: 29.33 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008375/0.6888, allocations: 139.6 kB / 1.107 GB, free: 29.28 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.895e-05/0.6889, allocations: 61.8 kB / 1.107 GB, free: 29.28 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.0005648/0.6895, allocations: 252.5 kB / 1.107 GB, free: 29.11 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/0.6898, allocations: 236.5 kB / 1.107 GB, free: 29.01 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.692, allocations: 1.451 MB / 1.109 GB, free: 28.82 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.692, allocations: 20.41 kB / 1.109 GB, free: 28.81 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.692, allocations: 3.734 kB / 1.109 GB, free: 28.81 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.692, allocations: 12.05 kB / 1.109 GB, free: 28.81 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003889/0.6959, allocations: 2.925 MB / 1.112 GB, free: 28.25 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.6959, allocations: 1.375 kB / 1.112 GB, free: 28.25 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000929/0.6969, allocations: 319.3 kB / 1.112 GB, free: 28.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000752/0.6976, allocations: 255.2 kB / 1.112 GB, free: 28.19 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.239e-05/0.6977, allocations: 43.98 kB / 1.112 GB, free: 28.19 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003585/0.7013, allocations: 8.996 MB / 1.121 GB, free: 35.51 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7013, allocations: 1.406 kB / 1.121 GB, free: 35.51 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.7033, allocations: 1.469 MB / 1.122 GB, free: 35.09 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005231/0.7039, allocations: 391.9 kB / 1.123 GB, free: 34.97 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.704, allocations: 32.67 kB / 1.123 GB, free: 34.97 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/0.7046, allocations: 82.62 kB / 1.123 GB, free: 34.97 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/0.7049, allocations: 127.6 kB / 1.123 GB, free: 34.97 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/0.705, allocations: 72.86 kB / 1.123 GB, free: 34.97 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0009707/0.7059, allocations: 0.8351 MB / 1.124 GB, free: 34.82 MB / 1.026 GB Notification: Performance of sort global known variables: time 8e-08/0.7059, allocations: 0 / 1.124 GB, free: 34.82 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001484/0.7074, allocations: 0.7337 MB / 1.125 GB, free: 34.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.001453/0.7089, allocations: 0.7828 MB / 1.125 GB, free: 34.46 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001846/0.7107, allocations: 1.72 MB / 1.127 GB, free: 33.56 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.7107, allocations: 4.5 kB / 1.127 GB, free: 33.56 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.7118, allocations: 1.372 MB / 1.128 GB, free: 32.68 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.7133, allocations: 0.575 MB / 1.129 GB, free: 32.62 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004623/0.7179, allocations: 3.416 MB / 1.132 GB, free: 31.12 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.7184, allocations: 435.8 kB / 1.133 GB, free: 31.02 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.001114/0.7195, allocations: 457.8 kB / 1.133 GB, free: 30.94 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000405/0.7199, allocations: 177.2 kB / 1.133 GB, free: 30.93 MB / 1.026 GB Notification: Performance of SimCode: time 1.483e-06/0.7199, allocations: 1.219 kB / 1.133 GB, free: 30.93 MB / 1.026 GB Notification: Performance of Templates: time 0.03934/0.7592, allocations: 32.6 MB / 1.165 GB, free: 27.44 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: 7.123146492056549]