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.001037/0.001037, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.0009559/0.0009559, allocations: 169 kB / 24.06 MB, free: 456 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.066/1.066, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.299/2.299, allocations: 429.5 MB / 0.6743 GB, free: 3.895 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.985e-06/2.985e-06, allocations: 0 / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.431e-05/3.73e-05, allocations: 6.25 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1775/0.1775, allocations: 148.2 MB / 1.024 GB, free: 1.254 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.02066/0.1982, allocations: 15.3 MB / 1.039 GB, free: 1.922 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00245/0.2006, allocations: 39.69 kB / 1.039 GB, free: 1.883 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.2022, allocations: 424.3 kB / 1.04 GB, free: 1.465 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.005179/0.2074, allocations: 1.499 MB / 1.041 GB, free: 15.95 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00381/0.2112, allocations: 1.445 MB / 1.042 GB, free: 14.5 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.005397/0.2166, allocations: 2.964 MB / 1.045 GB, free: 11.53 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002903/0.2195, allocations: 1.561 MB / 1.047 GB, free: 9.914 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004872/0.2243, allocations: 2.088 MB / 1.049 GB, free: 7.938 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.2258, allocations: 0.9114 MB / 1.05 GB, free: 7.023 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002917/0.2261, allocations: 220 kB / 1.05 GB, free: 6.809 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00269/0.2288, allocations: 1.088 MB / 1.051 GB, free: 5.719 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0006802/0.2294, allocations: 0.8296 MB / 1.052 GB, free: 4.887 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.2309, allocations: 0.8183 MB / 1.053 GB, free: 4.066 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004788/0.2356, allocations: 2.627 MB / 1.055 GB, free: 1.43 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/0.2357, allocations: 0 / 1.055 GB, free: 1.43 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2357, allocations: 0 / 1.055 GB, free: 1.43 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.651e-05/0.2357, allocations: 4 kB / 1.055 GB, free: 1.426 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.7161/0.9518, allocations: 2.846 MB / 1.058 GB, free: 75.96 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.9518, allocations: 10.81 kB / 1.058 GB, free: 75.96 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00311/0.9549, allocations: 0.8733 MB / 1.059 GB, free: 75.8 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002421/0.9574, allocations: 1.316 MB / 1.06 GB, free: 75.49 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.9575, allocations: 131.6 kB / 1.06 GB, free: 75.48 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/0.9577, allocations: 184.1 kB / 1.06 GB, free: 75.48 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/0.9599, allocations: 1.988 MB / 1.062 GB, free: 74.39 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.924e-05/0.96, allocations: 3.75 kB / 1.062 GB, free: 74.39 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.9601, allocations: 74.14 kB / 1.062 GB, free: 74.39 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.372e-05/0.9601, allocations: 43.34 kB / 1.062 GB, free: 74.39 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.9615, allocations: 0.9992 MB / 1.063 GB, free: 74.35 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006445/0.968, allocations: 3.89 MB / 1.067 GB, free: 73.28 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.9693, allocations: 0.7972 MB / 1.068 GB, free: 73.24 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004169/0.9697, allocations: 329.1 kB / 1.068 GB, free: 73.22 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000204/0.9699, allocations: 75.7 kB / 1.068 GB, free: 73.22 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009899/0.9709, allocations: 1.206 MB / 1.07 GB, free: 72.38 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 5.691e-06/0.9709, allocations: 0 / 1.07 GB, free: 72.38 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.003283/0.9742, allocations: 1.506 MB / 1.071 GB, free: 72.14 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.886e-05/0.9743, allocations: 210.8 kB / 1.071 GB, free: 71.92 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.9755, allocations: 1.228 MB / 1.072 GB, free: 71.67 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.9757, allocations: 70.05 kB / 1.073 GB, free: 71.64 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006054/0.9763, allocations: 0.9374 MB / 1.073 GB, free: 71.34 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000409/0.9767, allocations: 0.5263 MB / 1.074 GB, free: 71.01 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002944/0.977, allocations: 281 kB / 1.074 GB, free: 70.98 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.9771, allocations: 0.5389 MB / 1.075 GB, free: 70.5 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005/0.9776, allocations: 195.3 kB / 1.075 GB, free: 70.5 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005041/0.9781, allocations: 0.744 MB / 1.076 GB, free: 69.91 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007329/0.9789, allocations: 0.5752 MB / 1.076 GB, free: 69.84 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.9789, allocations: 3.469 kB / 1.076 GB, free: 69.84 MB / 1.01 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.00211/0.981, allocations: 1.117 MB / 1.077 GB, free: 69.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.981, allocations: 6.531 kB / 1.077 GB, free: 69.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.981, allocations: 0 / 1.077 GB, free: 69.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008467/0.9819, allocations: 268 kB / 1.078 GB, free: 69.54 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009018/0.9828, allocations: 340.9 kB / 1.078 GB, free: 69.54 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003905/0.9867, allocations: 8.845 MB / 1.087 GB, free: 61 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.988, allocations: 130.2 kB / 1.087 GB, free: 60.95 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.085e-05/0.9881, allocations: 47.55 kB / 1.087 GB, free: 60.95 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0008281/0.9889, allocations: 260.4 kB / 1.087 GB, free: 60.78 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004238/0.9893, allocations: 234.1 kB / 1.087 GB, free: 60.68 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/0.9914, allocations: 1.339 MB / 1.088 GB, free: 60.49 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.9914, allocations: 16.47 kB / 1.088 GB, free: 60.49 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.9914, allocations: 2.625 kB / 1.089 GB, free: 60.49 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/0.9914, allocations: 10.92 kB / 1.089 GB, free: 60.49 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004013/0.9954, allocations: 2.525 MB / 1.091 GB, free: 59.98 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.9954, allocations: 0 / 1.091 GB, free: 59.98 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007855/0.9962, allocations: 299 kB / 1.091 GB, free: 59.98 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007661/0.997, allocations: 255.2 kB / 1.092 GB, free: 59.92 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-05/0.9971, allocations: 44.88 kB / 1.092 GB, free: 59.92 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00347/1.001, allocations: 8.867 MB / 1.1 GB, free: 51.35 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.001, allocations: 0.9375 kB / 1.1 GB, free: 51.35 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002497/1.003, allocations: 1.355 MB / 1.102 GB, free: 50.93 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000768/1.004, allocations: 374.6 kB / 1.102 GB, free: 50.81 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/1.004, allocations: 37.05 kB / 1.102 GB, free: 50.81 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006051/1.005, allocations: 73 kB / 1.102 GB, free: 50.81 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002685/1.005, allocations: 123.8 kB / 1.102 GB, free: 50.81 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/1.005, allocations: 60.91 kB / 1.102 GB, free: 50.81 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0009656/1.006, allocations: 0.7436 MB / 1.103 GB, free: 50.66 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/1.006, allocations: 0.9375 kB / 1.103 GB, free: 50.66 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002174/1.008, allocations: 0.7107 MB / 1.104 GB, free: 50.54 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.001918/1.01, allocations: 0.7648 MB / 1.104 GB, free: 50.34 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002152/1.012, allocations: 1.614 MB / 1.106 GB, free: 49.43 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.012, allocations: 2.656 kB / 1.106 GB, free: 49.43 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/1.013, allocations: 1.31 MB / 1.107 GB, free: 48.56 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/1.015, allocations: 0.5642 MB / 1.108 GB, free: 48.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006047/1.022, allocations: 3.341 MB / 1.111 GB, free: 47.02 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/1.022, allocations: 432.5 kB / 1.111 GB, free: 46.92 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001701/1.024, allocations: 355.9 kB / 1.112 GB, free: 46.84 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/1.025, allocations: 0.6804 MB / 1.112 GB, free: 46.78 MB / 1.01 GB Notification: Performance of SimCode: time 2.905e-06/1.025, allocations: 0.9688 kB / 1.112 GB, free: 46.78 MB / 1.01 GB Notification: Performance of Templates: time 0.06705/1.092, allocations: 35.24 MB / 1.147 GB, free: 43.24 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: 8.407895657233894]