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.001264/0.001264, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.001332/0.001332, allocations: 212.4 kB / 22.99 MB, free: 4.984 MB / 14.72 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.163/3.163, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 73.2 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3515, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1956/0.5472, allocations: 148.4 MB / 1.472 GB, free: 12.04 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02345/0.5706, allocations: 16.22 MB / 1.488 GB, free: 11.77 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.5722, allocations: 43.62 kB / 1.488 GB, free: 11.73 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.5738, allocations: 0.5583 MB / 1.488 GB, free: 11.16 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005459/0.5793, allocations: 1.85 MB / 1.49 GB, free: 9.312 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003733/0.583, allocations: 1.472 MB / 1.492 GB, free: 7.852 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004056/0.5871, allocations: 2.926 MB / 1.494 GB, free: 4.914 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002363/0.5894, allocations: 1.598 MB / 1.496 GB, free: 3.254 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004713/0.5941, allocations: 1.525 MB / 1.498 GB, free: 1.773 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.5958, allocations: 1.159 MB / 1.499 GB, free: 0.6094 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003543/0.5962, allocations: 224 kB / 1.499 GB, free: 400 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00318/0.5993, allocations: 1.494 MB / 1.5 GB, free: 14.89 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000813/0.6002, allocations: 0.7984 MB / 1.501 GB, free: 14.09 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.6013, allocations: 1.011 MB / 1.502 GB, free: 13.08 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005311/0.6067, allocations: 3.674 MB / 1.506 GB, free: 9.391 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.6067, allocations: 0 / 1.506 GB, free: 9.391 MB / 1.201 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6067, allocations: 0 / 1.506 GB, free: 9.391 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.047e-05/0.6067, allocations: 8 kB / 1.506 GB, free: 9.383 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.005132/0.6118, allocations: 2.801 MB / 1.508 GB, free: 6.535 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.6119, allocations: 8.031 kB / 1.508 GB, free: 6.527 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004736/0.6166, allocations: 0.6306 MB / 1.509 GB, free: 5.895 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/0.6194, allocations: 1.568 MB / 1.511 GB, free: 4.293 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.6196, allocations: 131.3 kB / 1.511 GB, free: 4.164 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/0.6198, allocations: 168 kB / 1.511 GB, free: 4 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004215/0.6241, allocations: 2.717 MB / 1.514 GB, free: 1.047 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/0.6241, allocations: 0 / 1.514 GB, free: 1.047 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/0.6243, allocations: 75.98 kB / 1.514 GB, free: 0.9727 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-05/0.6243, allocations: 40 kB / 1.514 GB, free: 0.9336 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003893/0.6282, allocations: 2.066 MB / 1.516 GB, free: 14.86 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009017/0.6372, allocations: 4.377 MB / 1.52 GB, free: 10.41 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003542/0.6408, allocations: 1.749 MB / 1.522 GB, free: 8.664 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.6422, allocations: 0.71 MB / 1.522 GB, free: 7.945 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004786/0.6426, allocations: 117.2 kB / 1.522 GB, free: 7.832 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002442/0.6451, allocations: 1.623 MB / 1.524 GB, free: 6.039 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.116e-06/0.6451, allocations: 0 / 1.524 GB, free: 6.039 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.007702/0.6528, allocations: 2.609 MB / 1.527 GB, free: 3.41 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.6529, allocations: 201.2 kB / 1.527 GB, free: 3.172 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/0.6555, allocations: 1.722 MB / 1.528 GB, free: 1.434 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001555/0.6557, allocations: 61.64 kB / 1.529 GB, free: 1.367 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008703/0.6566, allocations: 0.8631 MB / 1.529 GB, free: 0.4922 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005058/0.6571, allocations: 0.4997 MB / 1.53 GB, free: 15.98 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004777/0.6575, allocations: 254.8 kB / 1.53 GB, free: 15.73 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002236/0.6578, allocations: 361.9 kB / 1.53 GB, free: 15.37 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.6591, allocations: 0.6115 MB / 1.531 GB, free: 14.76 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001851/0.6609, allocations: 1.238 MB / 1.532 GB, free: 13.37 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002728/0.6636, allocations: 1.364 MB / 1.534 GB, free: 12 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.6636, allocations: 0 / 1.534 GB, free: 12 MB / 1.232 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004475/0.6681, allocations: 1.835 MB / 1.535 GB, free: 10.14 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.6681, allocations: 4 kB / 1.535 GB, free: 10.13 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.6681, allocations: 3.938 kB / 1.535 GB, free: 10.13 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.6693, allocations: 212.1 kB / 1.536 GB, free: 9.906 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.671, allocations: 339.6 kB / 1.536 GB, free: 9.574 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007132/0.6782, allocations: 6.677 MB / 1.542 GB, free: 2.379 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/0.6799, allocations: 159.3 kB / 1.543 GB, free: 2.223 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.6801, allocations: 59.95 kB / 1.543 GB, free: 2.164 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (153): * Single equations (assignments): 148 * 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.0009959/0.6811, allocations: 491.3 kB / 1.543 GB, free: 1.676 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003985/0.6815, allocations: 186.8 kB / 1.543 GB, free: 1.492 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005259/0.6867, allocations: 2.128 MB / 1.545 GB, free: 15.33 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.6868, allocations: 16 kB / 1.545 GB, free: 15.32 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.6868, allocations: 8 kB / 1.545 GB, free: 15.31 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.579e-05/0.6868, allocations: 11.91 kB / 1.545 GB, free: 15.3 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007322/0.6941, allocations: 3.529 MB / 1.549 GB, free: 11.71 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.6941, allocations: 0 / 1.549 GB, free: 11.71 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/0.6958, allocations: 319.5 kB / 1.549 GB, free: 11.4 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009836/0.6967, allocations: 200.1 kB / 1.549 GB, free: 11.19 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/0.6969, allocations: 43.95 kB / 1.549 GB, free: 11.15 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006891/0.7037, allocations: 6.704 MB / 1.556 GB, free: 3.918 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7038, allocations: 0 / 1.556 GB, free: 3.918 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004811/0.7086, allocations: 2.013 MB / 1.558 GB, free: 1.867 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.7097, allocations: 406.1 kB / 1.558 GB, free: 1.469 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/0.7099, allocations: 32 kB / 1.558 GB, free: 1.438 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.7113, allocations: 107.9 kB / 1.558 GB, free: 1.336 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/0.7116, allocations: 125.1 kB / 1.559 GB, free: 1.211 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001633/0.7118, allocations: 71.88 kB / 1.559 GB, free: 1.141 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001761/0.7135, allocations: 1.236 MB / 1.56 GB, free: 15.9 MB / 1.264 GB Notification: Performance of sort global known variables: time 1e-07/0.7135, allocations: 0 / 1.56 GB, free: 15.9 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001863/0.7154, allocations: 0.7092 MB / 1.56 GB, free: 15.19 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002482/0.7179, allocations: 0.7692 MB / 1.561 GB, free: 14.63 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003946/0.7218, allocations: 2.055 MB / 1.563 GB, free: 12.52 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7218, allocations: 4.594 kB / 1.563 GB, free: 12.51 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002329/0.7241, allocations: 1.372 MB / 1.565 GB, free: 11.07 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/0.7265, allocations: 0.5156 MB / 1.565 GB, free: 10.58 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007149/0.7336, allocations: 3.901 MB / 1.569 GB, free: 6.648 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/0.7347, allocations: 0.9573 MB / 1.57 GB, free: 5.648 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001634/0.7364, allocations: 496.3 kB / 1.57 GB, free: 5.156 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005216/0.7369, allocations: 175.3 kB / 1.57 GB, free: 4.984 MB / 1.264 GB Notification: Performance of SimCode: time 6.71e-07/0.7369, allocations: 3.938 kB / 1.57 GB, free: 4.98 MB / 1.264 GB Notification: Performance of Templates: time 0.0604/0.7973, allocations: 35.04 MB / 1.605 GB, free: 2.438 MB / 1.295 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.833753844999592]