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.0009112/0.0009112, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009466/0.0009466, allocations: 173.3 kB / 23.03 MB, free: 1.547 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.9131/0.9131, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.046/2.046, allocations: 429.5 MB / 0.6732 GB, free: 4.02 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.854e-06/1.854e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.89e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1357/0.1357, allocations: 151.1 MB / 1.026 GB, free: 14.69 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01676/0.1525, allocations: 15.53 MB / 1.041 GB, free: 15.12 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.154, allocations: 39.69 kB / 1.041 GB, free: 15.08 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.1552, allocations: 432.3 kB / 1.041 GB, free: 14.65 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003782/0.159, allocations: 1.492 MB / 1.043 GB, free: 13.15 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002773/0.1617, allocations: 1.457 MB / 1.044 GB, free: 11.69 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003585/0.1653, allocations: 2.956 MB / 1.047 GB, free: 8.727 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002282/0.1676, allocations: 1.565 MB / 1.049 GB, free: 7.105 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004591/0.1722, allocations: 2.095 MB / 1.051 GB, free: 5.125 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.1737, allocations: 0.9036 MB / 1.052 GB, free: 4.219 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0004854/0.1742, allocations: 216 kB / 1.052 GB, free: 4.008 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002283/0.1764, allocations: 1.096 MB / 1.053 GB, free: 2.91 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0007115/0.1771, allocations: 0.8296 MB / 1.054 GB, free: 2.078 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.1782, allocations: 0.826 MB / 1.054 GB, free: 1.25 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.4356/0.6138, allocations: 2.616 MB / 1.057 GB, free: 55.75 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.6138, allocations: 0 / 1.057 GB, free: 55.75 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6138, allocations: 0 / 1.057 GB, free: 55.75 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.963e-05/0.6139, allocations: 0 / 1.057 GB, free: 55.75 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.003166/0.6171, allocations: 2.858 MB / 1.06 GB, free: 54.34 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.6171, allocations: 12.22 kB / 1.06 GB, free: 54.34 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/0.6194, allocations: 0.8598 MB / 1.061 GB, free: 54.09 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.6208, allocations: 1.371 MB / 1.062 GB, free: 53.67 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.516e-05/0.6209, allocations: 130.6 kB / 1.062 GB, free: 53.67 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.6211, allocations: 184.6 kB / 1.062 GB, free: 53.67 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.6227, allocations: 2.104 MB / 1.064 GB, free: 52.57 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.6228, allocations: 2.062 kB / 1.064 GB, free: 52.57 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.536e-05/0.6229, allocations: 76.25 kB / 1.064 GB, free: 52.57 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.6229, allocations: 44.72 kB / 1.064 GB, free: 52.57 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.6241, allocations: 1.19 MB / 1.066 GB, free: 52.55 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004434/0.6286, allocations: 4.167 MB / 1.07 GB, free: 51.38 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.6298, allocations: 0.8912 MB / 1.071 GB, free: 51.33 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004462/0.6302, allocations: 388.2 kB / 1.071 GB, free: 51.31 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/0.6304, allocations: 77.8 kB / 1.071 GB, free: 51.31 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008046/0.6312, allocations: 1.261 MB / 1.072 GB, free: 50.46 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 4.318e-06/0.6312, allocations: 3.156 kB / 1.072 GB, free: 50.46 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.00291/0.6341, allocations: 1.668 MB / 1.074 GB, free: 50.23 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.6342, allocations: 204.9 kB / 1.074 GB, free: 50.01 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.6353, allocations: 1.292 MB / 1.075 GB, free: 49.76 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.6354, allocations: 67.14 kB / 1.075 GB, free: 49.73 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000464/0.6358, allocations: 0.9275 MB / 1.076 GB, free: 49.34 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/0.6361, allocations: 0.5165 MB / 1.077 GB, free: 49 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002659/0.6364, allocations: 278.3 kB / 1.077 GB, free: 48.98 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.292e-05/0.6364, allocations: 0.5255 MB / 1.078 GB, free: 48.5 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003691/0.6368, allocations: 258.8 kB / 1.078 GB, free: 48.49 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005248/0.6373, allocations: 0.7973 MB / 1.079 GB, free: 47.91 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008367/0.6382, allocations: 0.6799 MB / 1.079 GB, free: 47.83 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.6382, allocations: 0.875 kB / 1.079 GB, free: 47.83 MB / 1.01 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.00167/0.6398, allocations: 1.243 MB / 1.08 GB, free: 47.59 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.6399, allocations: 7.594 kB / 1.08 GB, free: 47.59 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.6399, allocations: 0.9062 kB / 1.08 GB, free: 47.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007143/0.6406, allocations: 276.6 kB / 1.081 GB, free: 47.54 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007859/0.6414, allocations: 353.5 kB / 1.081 GB, free: 47.54 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002781/0.6442, allocations: 8.965 MB / 1.09 GB, free: 38.87 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008249/0.645, allocations: 138.5 kB / 1.09 GB, free: 38.82 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.903e-05/0.6451, allocations: 59.25 kB / 1.09 GB, free: 38.82 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.0005403/0.6456, allocations: 260.2 kB / 1.09 GB, free: 38.65 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/0.6459, allocations: 232.3 kB / 1.09 GB, free: 38.55 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/0.6478, allocations: 1.456 MB / 1.092 GB, free: 38.36 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.6478, allocations: 16.09 kB / 1.092 GB, free: 38.36 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6478, allocations: 3.375 kB / 1.092 GB, free: 38.36 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.6478, allocations: 10.03 kB / 1.092 GB, free: 38.36 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003573/0.6514, allocations: 2.898 MB / 1.095 GB, free: 37.81 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.6514, allocations: 2.438 kB / 1.095 GB, free: 37.81 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007751/0.6522, allocations: 315.3 kB / 1.095 GB, free: 37.81 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006532/0.6528, allocations: 264.2 kB / 1.095 GB, free: 37.75 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.316e-05/0.6529, allocations: 43.78 kB / 1.095 GB, free: 37.75 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00259/0.6555, allocations: 8.981 MB / 1.104 GB, free: 29.07 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6555, allocations: 4.688 kB / 1.104 GB, free: 29.07 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.6576, allocations: 1.465 MB / 1.106 GB, free: 28.66 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005468/0.6581, allocations: 387.7 kB / 1.106 GB, free: 28.54 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.6583, allocations: 33.06 kB / 1.106 GB, free: 28.54 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005201/0.6588, allocations: 78.77 kB / 1.106 GB, free: 28.54 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/0.659, allocations: 125 kB / 1.106 GB, free: 28.53 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.6591, allocations: 74.8 kB / 1.106 GB, free: 28.53 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0009027/0.66, allocations: 0.8152 MB / 1.107 GB, free: 28.38 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.8e-07/0.66, allocations: 0.8438 kB / 1.107 GB, free: 28.38 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001634/0.6617, allocations: 0.7164 MB / 1.108 GB, free: 28.26 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.00162/0.6633, allocations: 0.766 MB / 1.108 GB, free: 28.06 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00185/0.6651, allocations: 1.722 MB / 1.11 GB, free: 27.15 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.6651, allocations: 2.969 kB / 1.11 GB, free: 27.15 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009116/0.6661, allocations: 1.371 MB / 1.112 GB, free: 26.27 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.6674, allocations: 0.5703 MB / 1.112 GB, free: 26.21 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005411/0.6728, allocations: 3.371 MB / 1.115 GB, free: 24.73 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.6732, allocations: 431.8 kB / 1.116 GB, free: 24.63 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001108/0.6743, allocations: 458.5 kB / 1.116 GB, free: 24.55 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003766/0.6747, allocations: 176.5 kB / 1.116 GB, free: 24.54 MB / 1.01 GB Notification: Performance of SimCode: time 1.914e-06/0.6747, allocations: 0 / 1.116 GB, free: 24.54 MB / 1.01 GB Notification: Performance of Templates: time 0.04656/0.7212, allocations: 33.93 MB / 1.15 GB, free: 20.96 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: 6.9557650540955365]