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.0009587/0.0009587, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001021/0.001021, allocations: 169 kB / 23.27 MB, free: 1.223 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.9639/0.9639, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.362/2.362, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 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.964e-06/1.964e-06, allocations: 0 / 0.8897 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.417e-05, allocations: 4.984 kB / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1248/0.1249, allocations: 148.2 MB / 1.034 GB, free: 5 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01456/0.1394, allocations: 15.28 MB / 1.049 GB, free: 5.672 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.1406, allocations: 35.69 kB / 1.049 GB, free: 5.637 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0009317/0.1416, allocations: 428.3 kB / 1.05 GB, free: 5.215 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002813/0.1444, allocations: 1.499 MB / 1.051 GB, free: 3.707 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002449/0.1468, allocations: 1.449 MB / 1.053 GB, free: 2.254 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.42/0.5669, allocations: 2.963 MB / 1.056 GB, free: 49.33 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002015/0.5689, allocations: 1.572 MB / 1.057 GB, free: 49.21 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003213/0.5721, allocations: 2.074 MB / 1.059 GB, free: 49.2 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.5731, allocations: 0.9084 MB / 1.06 GB, free: 49.2 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0003411/0.5734, allocations: 218.7 kB / 1.06 GB, free: 49.2 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.575, allocations: 1.091 MB / 1.061 GB, free: 49.2 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004408/0.5754, allocations: 0.8238 MB / 1.062 GB, free: 49.2 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007821/0.5762, allocations: 0.8249 MB / 1.063 GB, free: 49.2 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002613/0.5788, allocations: 2.625 MB / 1.066 GB, free: 49.03 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.5788, allocations: 0.5 kB / 1.066 GB, free: 49.03 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5788, allocations: 1.219 kB / 1.066 GB, free: 49.03 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.08e-05/0.5789, allocations: 0 / 1.066 GB, free: 49.03 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.002664/0.5816, allocations: 2.855 MB / 1.068 GB, free: 47.62 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.5816, allocations: 12.09 kB / 1.068 GB, free: 47.62 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/0.5837, allocations: 0.8643 MB / 1.069 GB, free: 47.37 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.5851, allocations: 1.321 MB / 1.07 GB, free: 46.95 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/0.5852, allocations: 132.3 kB / 1.071 GB, free: 46.94 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.5853, allocations: 182.6 kB / 1.071 GB, free: 46.94 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.5868, allocations: 1.984 MB / 1.073 GB, free: 45.85 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.5868, allocations: 0 / 1.073 GB, free: 45.85 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.416e-05/0.5869, allocations: 79.06 kB / 1.073 GB, free: 45.85 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.5869, allocations: 39.75 kB / 1.073 GB, free: 45.85 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.588, allocations: 1.005 MB / 1.074 GB, free: 45.8 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004425/0.5924, allocations: 3.893 MB / 1.078 GB, free: 44.66 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.5934, allocations: 0.8002 MB / 1.078 GB, free: 44.61 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003591/0.5938, allocations: 320.9 kB / 1.079 GB, free: 44.58 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/0.594, allocations: 114 kB / 1.079 GB, free: 44.56 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007735/0.5948, allocations: 1.212 MB / 1.08 GB, free: 43.71 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 3.948e-06/0.5948, allocations: 0 / 1.08 GB, free: 43.71 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.002898/0.5977, allocations: 1.505 MB / 1.081 GB, free: 43.48 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.5977, allocations: 205.7 kB / 1.082 GB, free: 43.26 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.599, allocations: 1.228 MB / 1.083 GB, free: 43 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.000363/0.5994, allocations: 67.11 kB / 1.083 GB, free: 42.97 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006384/0.6, allocations: 0.9395 MB / 1.084 GB, free: 42.59 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004579/0.6005, allocations: 0.5238 MB / 1.084 GB, free: 42.25 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002915/0.6008, allocations: 279.5 kB / 1.085 GB, free: 42.23 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.048e-05/0.6009, allocations: 0.5363 MB / 1.085 GB, free: 41.75 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.6012, allocations: 199.1 kB / 1.085 GB, free: 41.74 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.6016, allocations: 0.7407 MB / 1.086 GB, free: 41.16 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006766/0.6023, allocations: 0.5743 MB / 1.087 GB, free: 41.08 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.6023, allocations: 1.125 kB / 1.087 GB, free: 41.08 MB / 1.01 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.001828/0.6041, allocations: 1.126 MB / 1.088 GB, free: 40.84 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.6041, allocations: 6.594 kB / 1.088 GB, free: 40.84 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.6041, allocations: 1.281 kB / 1.088 GB, free: 40.84 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007423/0.6049, allocations: 271.5 kB / 1.088 GB, free: 40.78 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008762/0.6058, allocations: 340.6 kB / 1.088 GB, free: 40.78 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/0.6086, allocations: 8.847 MB / 1.097 GB, free: 32.23 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.6098, allocations: 132 kB / 1.097 GB, free: 32.18 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.933e-05/0.6099, allocations: 49.14 kB / 1.097 GB, free: 32.18 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.0006164/0.6105, allocations: 251.7 kB / 1.097 GB, free: 32.01 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003582/0.6109, allocations: 231.7 kB / 1.098 GB, free: 31.92 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001872/0.6128, allocations: 1.346 MB / 1.099 GB, free: 31.71 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.6128, allocations: 17.11 kB / 1.099 GB, free: 31.71 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6128, allocations: 2.062 kB / 1.099 GB, free: 31.71 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.6128, allocations: 10.11 kB / 1.099 GB, free: 31.71 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003519/0.6163, allocations: 2.528 MB / 1.101 GB, free: 31.19 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6163, allocations: 4 kB / 1.101 GB, free: 31.19 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000716/0.617, allocations: 303 kB / 1.102 GB, free: 31.19 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005862/0.6176, allocations: 254.4 kB / 1.102 GB, free: 31.13 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.298e-05/0.6177, allocations: 45.95 kB / 1.102 GB, free: 31.12 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003605/0.6213, allocations: 8.857 MB / 1.111 GB, free: 38.56 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.6213, allocations: 0 / 1.111 GB, free: 38.56 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.6233, allocations: 1.357 MB / 1.112 GB, free: 38.14 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005404/0.6238, allocations: 370 kB / 1.112 GB, free: 38.02 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.6239, allocations: 37.64 kB / 1.112 GB, free: 38.02 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004975/0.6244, allocations: 73.5 kB / 1.112 GB, free: 38.02 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.6246, allocations: 120.8 kB / 1.112 GB, free: 38.02 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.6247, allocations: 60.33 kB / 1.113 GB, free: 38.02 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0008284/0.6255, allocations: 0.7441 MB / 1.113 GB, free: 37.87 MB / 1.026 GB Notification: Performance of sort global known variables: time 7e-08/0.6255, allocations: 1.188 kB / 1.113 GB, free: 37.87 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001683/0.6272, allocations: 0.7233 MB / 1.114 GB, free: 37.75 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.001554/0.6288, allocations: 0.762 MB / 1.115 GB, free: 37.55 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.00199/0.6308, allocations: 1.611 MB / 1.116 GB, free: 36.64 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.6308, allocations: 2.969 kB / 1.116 GB, free: 36.64 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0009979/0.6318, allocations: 1.316 MB / 1.118 GB, free: 35.76 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/0.6334, allocations: 0.5724 MB / 1.118 GB, free: 35.7 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00527/0.6387, allocations: 3.329 MB / 1.121 GB, free: 34.22 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.6391, allocations: 435.9 kB / 1.122 GB, free: 34.12 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.001274/0.6404, allocations: 361.2 kB / 1.122 GB, free: 34.04 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/0.6418, allocations: 0.6814 MB / 1.123 GB, free: 33.97 MB / 1.026 GB Notification: Performance of SimCode: time 1.873e-06/0.6418, allocations: 0 / 1.123 GB, free: 33.97 MB / 1.026 GB Notification: Performance of Templates: time 0.04575/0.6876, allocations: 34.69 MB / 1.157 GB, free: 30.56 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.00574243394658]