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.0009739/0.0009739, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009813/0.0009813, 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.9834/0.9834, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.104/2.104, allocations: 429.5 MB / 0.6736 GB, free: 4.031 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 2.134e-06/2.134e-06, allocations: 0 / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.357e-05/3.571e-05, allocations: 3.281 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1437/0.1437, allocations: 164.3 MB / 1.039 GB, free: 1.793 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.4943/0.638, allocations: 17.79 MB / 1.056 GB, free: 47.79 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/0.6394, allocations: 39.66 kB / 1.056 GB, free: 47.79 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.6407, allocations: 0.5704 MB / 1.057 GB, free: 47.79 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003932/0.6446, allocations: 1.87 MB / 1.058 GB, free: 47.79 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.6471, allocations: 1.468 MB / 1.06 GB, free: 47.79 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002894/0.65, allocations: 2.98 MB / 1.063 GB, free: 47.78 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.6516, allocations: 1.562 MB / 1.064 GB, free: 47.62 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003251/0.6548, allocations: 2.141 MB / 1.066 GB, free: 47.45 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.6558, allocations: 0.937 MB / 1.067 GB, free: 47.35 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002424/0.6561, allocations: 229 kB / 1.067 GB, free: 47.35 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.6584, allocations: 1.484 MB / 1.069 GB, free: 47.26 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004647/0.6588, allocations: 0.8387 MB / 1.07 GB, free: 47.15 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007018/0.6595, allocations: 0.8429 MB / 1.071 GB, free: 47.05 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003455/0.663, allocations: 2.812 MB / 1.073 GB, free: 46.66 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.663, allocations: 0 / 1.073 GB, free: 46.66 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.645e-06/0.663, allocations: 4.047 kB / 1.073 GB, free: 46.66 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.639e-05/0.663, allocations: 0 / 1.073 GB, free: 46.66 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.003199/0.6662, allocations: 2.895 MB / 1.076 GB, free: 45.22 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.6663, allocations: 8.25 kB / 1.076 GB, free: 45.22 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002553/0.6688, allocations: 0.8672 MB / 1.077 GB, free: 44.97 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.6705, allocations: 1.366 MB / 1.078 GB, free: 44.55 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.064e-05/0.6706, allocations: 139 kB / 1.078 GB, free: 44.55 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.6707, allocations: 191 kB / 1.079 GB, free: 44.55 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.6727, allocations: 2.171 MB / 1.081 GB, free: 43.37 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.6727, allocations: 2.125 kB / 1.081 GB, free: 43.37 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.6728, allocations: 76.25 kB / 1.081 GB, free: 43.37 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.6729, allocations: 43.12 kB / 1.081 GB, free: 43.37 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.6743, allocations: 1.197 MB / 1.082 GB, free: 43.34 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005273/0.6796, allocations: 4.208 MB / 1.086 GB, free: 42.17 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.681, allocations: 0.9115 MB / 1.087 GB, free: 42.11 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000481/0.6815, allocations: 373.9 kB / 1.087 GB, free: 42.09 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002869/0.6818, allocations: 129.7 kB / 1.088 GB, free: 42.09 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.6828, allocations: 1.266 MB / 1.089 GB, free: 41.24 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 5.059e-06/0.6828, allocations: 3.75 kB / 1.089 GB, free: 41.24 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.003742/0.6866, allocations: 1.667 MB / 1.09 GB, free: 41 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/0.6866, allocations: 213.9 kB / 1.091 GB, free: 40.78 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.688, allocations: 1.302 MB / 1.092 GB, free: 40.53 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.6881, allocations: 66.08 kB / 1.092 GB, free: 40.5 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005102/0.6886, allocations: 0.9288 MB / 1.093 GB, free: 40.12 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000294/0.6889, allocations: 0.5153 MB / 1.093 GB, free: 39.78 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003044/0.6892, allocations: 281.7 kB / 1.094 GB, free: 39.75 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.198e-05/0.6893, allocations: 0.5288 MB / 1.094 GB, free: 39.27 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004701/0.6898, allocations: 255.1 kB / 1.094 GB, free: 39.27 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006514/0.6904, allocations: 0.939 MB / 1.095 GB, free: 38.51 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.6915, allocations: 0.6795 MB / 1.096 GB, free: 38.43 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.6915, allocations: 1.25 kB / 1.096 GB, free: 38.43 MB / 1.01 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002078/0.6935, allocations: 1.249 MB / 1.097 GB, free: 38.19 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.6936, allocations: 6.375 kB / 1.097 GB, free: 38.19 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.6936, allocations: 1.125 kB / 1.097 GB, free: 38.19 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007969/0.6944, allocations: 267.3 kB / 1.097 GB, free: 38.13 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009154/0.6953, allocations: 354.1 kB / 1.098 GB, free: 38.13 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003266/0.6986, allocations: 8.97 MB / 1.107 GB, free: 29.47 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.6996, allocations: 145 kB / 1.107 GB, free: 29.41 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.6997, allocations: 62.36 kB / 1.107 GB, free: 29.41 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.0007089/0.7004, allocations: 255.9 kB / 1.107 GB, free: 29.24 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003278/0.7008, allocations: 232 kB / 1.107 GB, free: 29.15 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/0.7031, allocations: 1.453 MB / 1.109 GB, free: 28.95 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.7031, allocations: 20.84 kB / 1.109 GB, free: 28.94 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7031, allocations: 6.906 kB / 1.109 GB, free: 28.94 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.7031, allocations: 7.828 kB / 1.109 GB, free: 28.94 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004246/0.7074, allocations: 2.916 MB / 1.112 GB, free: 28.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.7074, allocations: 0.9062 kB / 1.112 GB, free: 28.39 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008224/0.7082, allocations: 312.9 kB / 1.112 GB, free: 28.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006991/0.7089, allocations: 260 kB / 1.112 GB, free: 28.32 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.415e-05/0.709, allocations: 43 kB / 1.112 GB, free: 28.32 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00393/0.7129, allocations: 9.005 MB / 1.121 GB, free: 35.63 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7129, allocations: 0 / 1.121 GB, free: 35.63 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003108/0.716, allocations: 1.466 MB / 1.122 GB, free: 35.21 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/0.7172, allocations: 391.1 kB / 1.123 GB, free: 35.09 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/0.7174, allocations: 32.2 kB / 1.123 GB, free: 35.09 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007292/0.7182, allocations: 85.33 kB / 1.123 GB, free: 35.09 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003735/0.7185, allocations: 125.6 kB / 1.123 GB, free: 35.09 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/0.7187, allocations: 71.8 kB / 1.123 GB, free: 35.09 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.001346/0.72, allocations: 0.8242 MB / 1.124 GB, free: 34.94 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.71e-07/0.72, allocations: 4.938 kB / 1.124 GB, free: 34.94 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.002186/0.7222, allocations: 0.7255 MB / 1.125 GB, free: 34.82 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.001769/0.724, allocations: 0.783 MB / 1.125 GB, free: 34.59 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.002245/0.7262, allocations: 1.729 MB / 1.127 GB, free: 33.68 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.7262, allocations: 3.031 kB / 1.127 GB, free: 33.68 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.7275, allocations: 1.371 MB / 1.128 GB, free: 32.8 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.7292, allocations: 0.5608 MB / 1.129 GB, free: 32.75 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005087/0.7343, allocations: 3.377 MB / 1.132 GB, free: 31.27 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.7348, allocations: 434.6 kB / 1.133 GB, free: 31.17 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.001613/0.7364, allocations: 463.7 kB / 1.133 GB, free: 31.09 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004412/0.7368, allocations: 176.6 kB / 1.133 GB, free: 31.07 MB / 1.026 GB Notification: Performance of SimCode: time 2.024e-06/0.7368, allocations: 0 / 1.133 GB, free: 31.07 MB / 1.026 GB Notification: Performance of Templates: time 0.04105/0.7779, allocations: 32.56 MB / 1.165 GB, free: 27.64 MB / 1.026 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.172634225105867]