Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001034/0.001034, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001137/0.001137, allocations: 169 kB / 24.28 MB, free: 276 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 0.9595/0.9595, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.002/2.002, allocations: 377.8 MB / 0.6239 GB, free: 8.578 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.899e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1546/0.1546, allocations: 164.3 MB / 0.972 GB, free: 13.26 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.02114/0.1757, allocations: 17.84 MB / 0.9894 GB, free: 11.36 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002088/0.1778, allocations: 43.62 kB / 0.9894 GB, free: 11.32 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.1795, allocations: 0.5697 MB / 0.99 GB, free: 10.75 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.004987/0.1845, allocations: 1.888 MB / 0.9918 GB, free: 8.848 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003376/0.1878, allocations: 1.473 MB / 0.9933 GB, free: 7.371 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.003419/0.1913, allocations: 2.999 MB / 0.9962 GB, free: 4.363 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001968/0.1932, allocations: 1.653 MB / 0.9978 GB, free: 2.656 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004195/0.1974, allocations: 2.138 MB / 0.9999 GB, free: 0.6602 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.1986, allocations: 0.9347 MB / 1.001 GB, free: 15.72 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0002791/0.1989, allocations: 236 kB / 1.001 GB, free: 15.49 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003044/0.2019, allocations: 1.481 MB / 1.002 GB, free: 14.01 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0008191/0.2027, allocations: 0.8374 MB / 1.003 GB, free: 13.17 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.001347/0.2041, allocations: 0.8495 MB / 1.004 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.005016/0.2091, allocations: 2.822 MB / 1.007 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2091, allocations: 0 / 1.007 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2091, allocations: 0 / 1.007 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.976e-05/0.2091, allocations: 0 / 1.007 GB, free: 9.484 MB / 0.9636 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.003491/0.2126, allocations: 2.9 MB / 1.01 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.2127, allocations: 16.02 kB / 1.01 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002493/0.2152, allocations: 0.8711 MB / 1.011 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.2168, allocations: 1.38 MB / 1.012 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.04e-05/0.2169, allocations: 131.4 kB / 1.012 GB, free: 4.086 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.2171, allocations: 196 kB / 1.012 GB, free: 3.895 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/0.2194, allocations: 2.169 MB / 1.014 GB, free: 1.473 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/0.2194, allocations: 4 kB / 1.014 GB, free: 1.469 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.2196, allocations: 75.94 kB / 1.014 GB, free: 1.395 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/0.2196, allocations: 48 kB / 1.014 GB, free: 1.348 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.2211, allocations: 1.19 MB / 1.016 GB, free: 156 kB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005134/0.2262, allocations: 4.228 MB / 1.02 GB, free: 11.83 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.2278, allocations: 0.898 MB / 1.021 GB, free: 10.94 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005061/0.2283, allocations: 375.8 kB / 1.021 GB, free: 10.57 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002988/0.2286, allocations: 129.2 kB / 1.021 GB, free: 10.45 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.2297, allocations: 1.271 MB / 1.022 GB, free: 9.004 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=154): time 4.879e-06/0.2297, allocations: 3.984 kB / 1.022 GB, free: 9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=154): time 0.003343/0.233, allocations: 1.674 MB / 1.024 GB, free: 7.297 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/0.2331, allocations: 201.2 kB / 1.024 GB, free: 7.059 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.2345, allocations: 1.319 MB / 1.025 GB, free: 5.707 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.2347, allocations: 69.69 kB / 1.026 GB, free: 5.633 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007157/0.2354, allocations: 0.9221 MB / 1.026 GB, free: 4.695 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006975/0.2361, allocations: 0.519 MB / 1.027 GB, free: 4.172 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003109/0.2364, allocations: 281.2 kB / 1.027 GB, free: 3.887 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2365, allocations: 0.5277 MB / 1.028 GB, free: 3.352 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004411/0.237, allocations: 255.8 kB / 1.028 GB, free: 3.102 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007285/0.2377, allocations: 0.9388 MB / 1.029 GB, free: 1.988 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.2387, allocations: 0.6839 MB / 1.03 GB, free: 1.293 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.2387, allocations: 0 / 1.03 GB, free: 1.293 MB / 0.9792 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002513/0.2413, allocations: 1.24 MB / 1.031 GB, free: 24 kB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 4.727e-05/0.2413, allocations: 10.03 kB / 1.031 GB, free: 16 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.2413, allocations: 4.062 kB / 1.031 GB, free: 12 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009171/0.2422, allocations: 262.2 kB / 1.031 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008965/0.2431, allocations: 359.5 kB / 1.031 GB, free: 15.38 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005093/0.2482, allocations: 8.99 MB / 1.04 GB, free: 5.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.2494, allocations: 139.3 kB / 1.04 GB, free: 5.633 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.2495, allocations: 59.95 kB / 1.04 GB, free: 5.574 MB / 0.9948 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.0006059/0.2501, allocations: 247.1 kB / 1.041 GB, free: 5.324 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005336/0.2506, allocations: 234.8 kB / 1.041 GB, free: 5.094 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.2528, allocations: 1.475 MB / 1.042 GB, free: 3.582 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.2528, allocations: 20 kB / 1.042 GB, free: 3.562 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.2528, allocations: 4 kB / 1.042 GB, free: 3.559 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.2528, allocations: 7.969 kB / 1.042 GB, free: 3.551 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004161/0.257, allocations: 2.93 MB / 1.045 GB, free: 0.5391 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.257, allocations: 0 / 1.045 GB, free: 0.5391 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007848/0.2578, allocations: 315.6 kB / 1.045 GB, free: 236 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006962/0.2585, allocations: 258.1 kB / 1.046 GB, free: 15.96 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.582e-05/0.2586, allocations: 47.95 kB / 1.046 GB, free: 15.91 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004103/0.2627, allocations: 8.99 MB / 1.055 GB, free: 6.297 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2627, allocations: 0 / 1.055 GB, free: 6.297 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/0.2651, allocations: 1.469 MB / 1.056 GB, free: 4.781 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007664/0.2659, allocations: 394.2 kB / 1.056 GB, free: 4.395 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/0.266, allocations: 31.94 kB / 1.056 GB, free: 4.363 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000623/0.2667, allocations: 81.44 kB / 1.056 GB, free: 4.285 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/0.2669, allocations: 129.8 kB / 1.057 GB, free: 4.156 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.267, allocations: 67.95 kB / 1.057 GB, free: 4.09 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0008722/0.2679, allocations: 0.8338 MB / 1.057 GB, free: 3.258 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.2679, allocations: 0 / 1.057 GB, free: 3.258 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001527/0.2694, allocations: 0.7326 MB / 1.058 GB, free: 2.523 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 (157): * Single equations (assignments): 142 * 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.001611/0.271, allocations: 0.7901 MB / 1.059 GB, free: 1.91 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002024/0.273, allocations: 1.729 MB / 1.061 GB, free: 96 kB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.273, allocations: 0.6562 kB / 1.061 GB, free: 96 kB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.3306/0.6036, allocations: 1.366 MB / 1.062 GB, free: 287.4 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.6054, allocations: 0.5847 MB / 1.063 GB, free: 287.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004457/0.6099, allocations: 3.398 MB / 1.066 GB, free: 286 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.6102, allocations: 440.2 kB / 1.066 GB, free: 285.9 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001224/0.6114, allocations: 460.8 kB / 1.067 GB, free: 285.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000344/0.6117, allocations: 179.6 kB / 1.067 GB, free: 285.8 MB / 1.01 GB Notification: Performance of SimCode: time 1.694e-06/0.6117, allocations: 3.844 kB / 1.067 GB, free: 285.8 MB / 1.01 GB Notification: Performance of Templates: time 0.04218/0.6539, allocations: 32.96 MB / 1.099 GB, free: 280.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.712510394863784]