Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.0009769/0.0009769, allocations: 93.06 kB / 19.65 MB, free: 284 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.001262/0.001262, allocations: 165 kB / 23.02 MB, free: 1.555 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.061/1.061, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.318/2.318, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.372e-05, allocations: 4.562 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1433/0.1434, allocations: 151.1 MB / 1.026 GB, free: 14.72 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01604/0.1594, allocations: 15.54 MB / 1.041 GB, free: 15.14 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.1606, allocations: 47.56 kB / 1.041 GB, free: 15.1 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.1617, allocations: 420.4 kB / 1.041 GB, free: 14.68 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002768/0.1645, allocations: 1.484 MB / 1.043 GB, free: 13.19 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.1669, allocations: 1.457 MB / 1.044 GB, free: 11.73 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002458/0.1694, allocations: 2.964 MB / 1.047 GB, free: 8.758 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001623/0.171, allocations: 1.561 MB / 1.049 GB, free: 7.141 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002892/0.1739, allocations: 2.053 MB / 1.051 GB, free: 5.203 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009137/0.1748, allocations: 0.9348 MB / 1.052 GB, free: 4.266 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.175, allocations: 236 kB / 1.052 GB, free: 4.035 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.1766, allocations: 1.104 MB / 1.053 GB, free: 2.93 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.000492/0.1771, allocations: 0.8413 MB / 1.054 GB, free: 2.086 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0006405/0.1778, allocations: 0.8495 MB / 1.054 GB, free: 1.234 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.4739/0.6516, allocations: 2.652 MB / 1.057 GB, free: 55.91 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.6516, allocations: 0 / 1.057 GB, free: 55.91 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6516, allocations: 3.328 kB / 1.057 GB, free: 55.91 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.459e-05/0.6517, allocations: 0 / 1.057 GB, free: 55.91 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.002818/0.6545, allocations: 2.87 MB / 1.06 GB, free: 54.5 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.6545, allocations: 8.438 kB / 1.06 GB, free: 54.5 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002202/0.6567, allocations: 0.8641 MB / 1.061 GB, free: 54.25 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.6581, allocations: 1.368 MB / 1.062 GB, free: 53.84 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.504e-05/0.6582, allocations: 135.4 kB / 1.062 GB, free: 53.84 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.6583, allocations: 189.8 kB / 1.062 GB, free: 53.84 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.66, allocations: 2.172 MB / 1.064 GB, free: 52.66 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/0.66, allocations: 4.312 kB / 1.064 GB, free: 52.66 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.6601, allocations: 77.16 kB / 1.065 GB, free: 52.66 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/0.6602, allocations: 43.69 kB / 1.065 GB, free: 52.66 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.6615, allocations: 1.196 MB / 1.066 GB, free: 52.63 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00418/0.6657, allocations: 4.217 MB / 1.07 GB, free: 51.46 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.6669, allocations: 0.8985 MB / 1.071 GB, free: 51.41 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004353/0.6674, allocations: 373.6 kB / 1.071 GB, free: 51.4 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/0.6675, allocations: 78.03 kB / 1.071 GB, free: 51.4 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007868/0.6683, allocations: 1.266 MB / 1.072 GB, free: 50.55 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 2.726e-06/0.6683, allocations: 0.875 kB / 1.072 GB, free: 50.55 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.002802/0.6711, allocations: 1.67 MB / 1.074 GB, free: 50.31 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.6712, allocations: 206.7 kB / 1.074 GB, free: 50.09 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.6722, allocations: 1.302 MB / 1.076 GB, free: 49.84 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.717e-05/0.6723, allocations: 69.61 kB / 1.076 GB, free: 49.81 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003948/0.6727, allocations: 0.9347 MB / 1.077 GB, free: 49.43 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.6729, allocations: 0.5196 MB / 1.077 GB, free: 49.09 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002713/0.6732, allocations: 279.4 kB / 1.077 GB, free: 49.06 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.927e-05/0.6732, allocations: 0.5274 MB / 1.078 GB, free: 48.58 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.6736, allocations: 253.4 kB / 1.078 GB, free: 48.57 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005588/0.6742, allocations: 0.9391 MB / 1.079 GB, free: 47.82 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000881/0.6751, allocations: 0.6789 MB / 1.08 GB, free: 47.74 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.6751, allocations: 0 / 1.08 GB, free: 47.74 MB / 1.01 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.001673/0.6768, allocations: 1.247 MB / 1.081 GB, free: 47.5 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.6768, allocations: 6.453 kB / 1.081 GB, free: 47.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6768, allocations: 1.125 kB / 1.081 GB, free: 47.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000723/0.6775, allocations: 277.2 kB / 1.081 GB, free: 47.45 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007784/0.6783, allocations: 354.5 kB / 1.081 GB, free: 47.45 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/0.6809, allocations: 8.971 MB / 1.09 GB, free: 38.79 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005531/0.6815, allocations: 137.4 kB / 1.09 GB, free: 38.73 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-05/0.6816, allocations: 65.41 kB / 1.09 GB, free: 38.73 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.0003089/0.6819, allocations: 253.4 kB / 1.091 GB, free: 38.56 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/0.6821, allocations: 233.8 kB / 1.091 GB, free: 38.46 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/0.684, allocations: 1.462 MB / 1.092 GB, free: 38.27 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/0.684, allocations: 17.23 kB / 1.092 GB, free: 38.27 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.684, allocations: 2.688 kB / 1.092 GB, free: 38.27 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.684, allocations: 10.03 kB / 1.092 GB, free: 38.27 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003632/0.6876, allocations: 2.918 MB / 1.095 GB, free: 37.73 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.6876, allocations: 2.094 kB / 1.095 GB, free: 37.73 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007836/0.6884, allocations: 312.6 kB / 1.095 GB, free: 37.73 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006584/0.6891, allocations: 265.9 kB / 1.096 GB, free: 37.66 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-05/0.6891, allocations: 37.98 kB / 1.096 GB, free: 37.66 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/0.6918, allocations: 8.992 MB / 1.105 GB, free: 28.99 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6918, allocations: 1.781 kB / 1.105 GB, free: 28.99 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/0.6939, allocations: 1.464 MB / 1.106 GB, free: 28.57 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005221/0.6944, allocations: 395.4 kB / 1.106 GB, free: 28.45 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.6946, allocations: 38.73 kB / 1.106 GB, free: 28.45 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005739/0.6952, allocations: 81.38 kB / 1.106 GB, free: 28.45 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/0.6954, allocations: 130.7 kB / 1.107 GB, free: 28.45 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/0.6955, allocations: 72.88 kB / 1.107 GB, free: 28.45 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001132/0.6967, allocations: 0.8209 MB / 1.107 GB, free: 28.29 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6967, allocations: 1.969 kB / 1.107 GB, free: 28.29 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002244/0.6989, allocations: 0.7222 MB / 1.108 GB, free: 28.18 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.002186/0.7011, allocations: 0.7633 MB / 1.109 GB, free: 27.98 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002185/0.7033, allocations: 1.728 MB / 1.111 GB, free: 27.07 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.7033, allocations: 1.625 kB / 1.111 GB, free: 27.07 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.7044, allocations: 1.372 MB / 1.112 GB, free: 26.19 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.7059, allocations: 0.564 MB / 1.112 GB, free: 26.13 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005/0.7109, allocations: 3.385 MB / 1.116 GB, free: 24.65 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.7112, allocations: 437.4 kB / 1.116 GB, free: 24.54 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001108/0.7123, allocations: 465 kB / 1.117 GB, free: 24.45 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/0.7128, allocations: 176.1 kB / 1.117 GB, free: 24.45 MB / 1.01 GB Notification: Performance of SimCode: time 1.623e-06/0.7128, allocations: 0 / 1.117 GB, free: 24.45 MB / 1.01 GB Notification: Performance of Templates: time 0.04598/0.7587, allocations: 32.3 MB / 1.148 GB, free: 21.15 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.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.68495655991137]