Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009572/0.0009572, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009479/0.0009479, allocations: 169 kB / 24.28 MB, free: 276 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 1.008/1.008, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.879/1.879, allocations: 377.8 MB / 0.6239 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.175e-05, allocations: 6.25 kB / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.15/0.1501, allocations: 164.3 MB / 0.972 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01926/0.1693, allocations: 17.84 MB / 0.9894 GB, free: 11.32 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.171, allocations: 43.62 kB / 0.9894 GB, free: 11.28 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.002247/0.1732, allocations: 0.5775 MB / 0.99 GB, free: 10.7 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.006502/0.1797, allocations: 1.884 MB / 0.9918 GB, free: 8.801 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004469/0.1842, allocations: 1.484 MB / 0.9933 GB, free: 7.312 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.005202/0.1894, allocations: 2.991 MB / 0.9962 GB, free: 4.312 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00267/0.1921, allocations: 1.653 MB / 0.9978 GB, free: 2.605 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004741/0.1968, allocations: 2.143 MB / 0.9999 GB, free: 0.6055 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/0.1983, allocations: 0.9386 MB / 1.001 GB, free: 15.66 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0004245/0.1987, allocations: 228 kB / 1.001 GB, free: 15.44 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/0.2014, allocations: 1.481 MB / 1.002 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0006517/0.202, allocations: 0.8413 MB / 1.003 GB, free: 13.11 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.2032, allocations: 0.8495 MB / 1.004 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00486/0.2081, allocations: 2.83 MB / 1.007 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.2081, allocations: 3.938 kB / 1.007 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2081, allocations: 0 / 1.007 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.872e-05/0.2081, allocations: 0 / 1.007 GB, free: 9.418 MB / 0.9636 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.003991/0.2121, allocations: 2.92 MB / 1.01 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.2122, allocations: 8.031 kB / 1.01 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002766/0.215, allocations: 0.8711 MB / 1.011 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.217, allocations: 1.392 MB / 1.012 GB, free: 4.125 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-05/0.2171, allocations: 131.4 kB / 1.012 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/0.2173, allocations: 192 kB / 1.012 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002628/0.2199, allocations: 2.18 MB / 1.014 GB, free: 1.375 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.2199, allocations: 0 / 1.014 GB, free: 1.375 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.2201, allocations: 79.94 kB / 1.014 GB, free: 1.297 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.731e-05/0.2201, allocations: 40 kB / 1.015 GB, free: 1.258 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.2217, allocations: 1.198 MB / 1.016 GB, free: 56 kB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006228/0.2279, allocations: 4.225 MB / 1.02 GB, free: 11.74 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.2295, allocations: 0.8951 MB / 1.021 GB, free: 10.84 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008008/0.2303, allocations: 375.8 kB / 1.021 GB, free: 10.48 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/0.2306, allocations: 133.2 kB / 1.021 GB, free: 10.35 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.2317, allocations: 1.267 MB / 1.022 GB, free: 8.91 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=154): time 4.278e-06/0.2317, allocations: 3.938 kB / 1.022 GB, free: 8.906 MB / 0.9792 GB Notification: Performance of matching and sorting (n=154): time 0.003394/0.2351, allocations: 1.674 MB / 1.024 GB, free: 7.203 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.569e-05/0.2352, allocations: 205.2 kB / 1.024 GB, free: 6.961 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.2366, allocations: 1.34 MB / 1.026 GB, free: 5.59 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.2367, allocations: 65.7 kB / 1.026 GB, free: 5.52 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000597/0.2373, allocations: 0.938 MB / 1.027 GB, free: 4.566 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003807/0.2377, allocations: 0.5151 MB / 1.027 GB, free: 4.047 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003004/0.238, allocations: 281.2 kB / 1.027 GB, free: 3.762 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2381, allocations: 0.5277 MB / 1.028 GB, free: 3.227 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006627/0.2388, allocations: 255.8 kB / 1.028 GB, free: 2.977 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000728/0.2395, allocations: 0.9427 MB / 1.029 GB, free: 1.859 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009404/0.2405, allocations: 0.6761 MB / 1.03 GB, free: 1.172 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.2405, allocations: 0 / 1.03 GB, free: 1.172 MB / 0.9792 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002061/0.2425, allocations: 1.252 MB / 1.031 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.2426, allocations: 4 kB / 1.031 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2426, allocations: 4 kB / 1.031 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007997/0.2434, allocations: 270.2 kB / 1.031 GB, free: 15.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008661/0.2442, allocations: 351.5 kB / 1.031 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005045/0.2493, allocations: 9.001 MB / 1.04 GB, free: 5.633 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.2504, allocations: 131.2 kB / 1.04 GB, free: 5.504 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.169e-05/0.2505, allocations: 59.95 kB / 1.04 GB, free: 5.445 MB / 0.9948 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.0006039/0.2511, allocations: 247 kB / 1.041 GB, free: 5.195 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/0.2515, allocations: 238.8 kB / 1.041 GB, free: 4.961 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.2538, allocations: 1.471 MB / 1.042 GB, free: 3.453 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.2538, allocations: 16 kB / 1.042 GB, free: 3.438 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2538, allocations: 4 kB / 1.042 GB, free: 3.434 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.2538, allocations: 11.91 kB / 1.042 GB, free: 3.422 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003788/0.2576, allocations: 2.938 MB / 1.045 GB, free: 412 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.2576, allocations: 4 kB / 1.045 GB, free: 408 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007645/0.2584, allocations: 311.6 kB / 1.046 GB, free: 96 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006693/0.2591, allocations: 258.1 kB / 1.046 GB, free: 15.82 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.971e-05/0.2591, allocations: 39.97 kB / 1.046 GB, free: 15.78 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004241/0.2634, allocations: 8.99 MB / 1.055 GB, free: 6.168 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2634, allocations: 0 / 1.055 GB, free: 6.168 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002737/0.2661, allocations: 1.485 MB / 1.056 GB, free: 4.637 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006516/0.2668, allocations: 390.2 kB / 1.056 GB, free: 4.254 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.2669, allocations: 39.92 kB / 1.056 GB, free: 4.215 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/0.2675, allocations: 82.28 kB / 1.057 GB, free: 4.137 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.2677, allocations: 121.8 kB / 1.057 GB, free: 4.016 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.2678, allocations: 71.94 kB / 1.057 GB, free: 3.945 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0008814/0.2687, allocations: 0.8463 MB / 1.058 GB, free: 3.102 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2687, allocations: 0 / 1.058 GB, free: 3.102 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001518/0.2702, allocations: 0.7287 MB / 1.058 GB, free: 2.371 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 (157): * Single equations (assignments): 142 * 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.00164/0.2718, allocations: 0.7766 MB / 1.059 GB, free: 1.762 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.3309/0.6027, allocations: 1.733 MB / 1.061 GB, free: 288.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/0.6027, allocations: 0.6562 kB / 1.061 GB, free: 288.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.6041, allocations: 1.363 MB / 1.062 GB, free: 287.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.6059, allocations: 0.597 MB / 1.063 GB, free: 287.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005351/0.6112, allocations: 3.414 MB / 1.066 GB, free: 286.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.6116, allocations: 448.6 kB / 1.066 GB, free: 286.3 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001468/0.6131, allocations: 461.6 kB / 1.067 GB, free: 286.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003536/0.6134, allocations: 180.5 kB / 1.067 GB, free: 286.3 MB / 1.01 GB Notification: Performance of SimCode: time 2.214e-06/0.6134, allocations: 0 / 1.067 GB, free: 286.3 MB / 1.01 GB Notification: Performance of Templates: time 0.04383/0.6573, allocations: 32.99 MB / 1.099 GB, free: 280.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.692270011873916]