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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 112.3 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.189/3.189, allocations: 497.2 MB / 0.7811 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 74.28 kB / 1.134 GB, free: 33.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3709, allocations: 173.9 MB / 1.304 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2085/0.5794, allocations: 169 MB / 1.469 GB, free: 7.832 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02754/0.607, allocations: 17.46 MB / 1.486 GB, free: 6.316 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002361/0.6093, allocations: 27.81 kB / 1.486 GB, free: 6.289 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002435/0.6118, allocations: 0.5933 MB / 1.487 GB, free: 5.691 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006288/0.618, allocations: 1.815 MB / 1.488 GB, free: 3.871 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004274/0.6223, allocations: 1.455 MB / 1.49 GB, free: 2.43 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004693/0.627, allocations: 2.871 MB / 1.493 GB, free: 15.55 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003287/0.6303, allocations: 1.609 MB / 1.494 GB, free: 13.88 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005178/0.6355, allocations: 1.475 MB / 1.496 GB, free: 12.45 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002184/0.6377, allocations: 1.148 MB / 1.497 GB, free: 11.3 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0008764/0.6385, allocations: 224 kB / 1.497 GB, free: 11.08 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003906/0.6424, allocations: 1.595 MB / 1.499 GB, free: 9.484 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.00125/0.6437, allocations: 0.8178 MB / 1.499 GB, free: 8.664 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002789/0.6465, allocations: 1.275 MB / 1.501 GB, free: 7.383 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.008839/0.6553, allocations: 3.751 MB / 1.504 GB, free: 3.617 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.6553, allocations: 3.938 kB / 1.504 GB, free: 3.613 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6553, allocations: 4 kB / 1.504 GB, free: 3.609 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001804/0.6555, allocations: 0 / 1.504 GB, free: 3.609 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.007848/0.6634, allocations: 3.009 MB / 1.507 GB, free: 0.5352 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.6634, allocations: 8.922 kB / 1.507 GB, free: 0.5273 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005672/0.664, allocations: 252.9 kB / 1.507 GB, free: 276 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004158/0.6681, allocations: 0.576 MB / 1.508 GB, free: 15.69 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00574/0.6739, allocations: 3.446 MB / 1.511 GB, free: 12.2 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.674, allocations: 135.4 kB / 1.512 GB, free: 12.06 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004923/0.6745, allocations: 164 kB / 1.512 GB, free: 11.9 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004816/0.6794, allocations: 1.964 MB / 1.514 GB, free: 9.887 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.627e-05/0.6794, allocations: 3.938 kB / 1.514 GB, free: 9.883 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002561/0.6797, allocations: 72 kB / 1.514 GB, free: 9.812 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-05/0.6797, allocations: 43.98 kB / 1.514 GB, free: 9.77 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004091/0.6838, allocations: 2.117 MB / 1.516 GB, free: 7.648 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01237/0.6962, allocations: 6.913 MB / 1.523 GB, free: 352 kB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003732/0.6999, allocations: 2.05 MB / 1.525 GB, free: 14.21 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/0.7012, allocations: 0.7104 MB / 1.525 GB, free: 13.5 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006423/0.7019, allocations: 437.5 kB / 1.526 GB, free: 13 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0019/0.7038, allocations: 1.017 MB / 1.527 GB, free: 11.96 MB / 1.232 GB Notification: Performance of pre-optimization done (n=146): time 4.258e-06/0.7038, allocations: 0 / 1.527 GB, free: 11.96 MB / 1.232 GB Notification: Performance of matching and sorting (n=146): time 0.007376/0.7112, allocations: 3.009 MB / 1.53 GB, free: 8.84 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.7113, allocations: 193.2 kB / 1.53 GB, free: 8.605 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005734/0.717, allocations: 4.085 MB / 1.534 GB, free: 4.516 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0003976/0.7174, allocations: 61.69 kB / 1.534 GB, free: 4.449 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.7185, allocations: 0.9076 MB / 1.535 GB, free: 3.531 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007174/0.7192, allocations: 0.4996 MB / 1.535 GB, free: 3.027 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005494/0.7197, allocations: 238.8 kB / 1.535 GB, free: 2.789 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.7199, allocations: 353.9 kB / 1.536 GB, free: 2.438 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.7212, allocations: 0.5804 MB / 1.536 GB, free: 1.855 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.7227, allocations: 0.8069 MB / 1.537 GB, free: 0.9922 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002597/0.7253, allocations: 1.337 MB / 1.538 GB, free: 15.64 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.7253, allocations: 4 kB / 1.538 GB, free: 15.64 MB / 1.248 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004367/0.7296, allocations: 1.804 MB / 1.54 GB, free: 13.81 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.7297, allocations: 12 kB / 1.54 GB, free: 13.8 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.7297, allocations: 0 / 1.54 GB, free: 13.8 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.7308, allocations: 208.1 kB / 1.54 GB, free: 13.58 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/0.7323, allocations: 335.5 kB / 1.541 GB, free: 13.25 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007099/0.7394, allocations: 7.323 MB / 1.548 GB, free: 5.227 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/0.7412, allocations: 175.1 kB / 1.548 GB, free: 5.055 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000229/0.7414, allocations: 55.89 kB / 1.548 GB, free: 5 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (145): * Single equations (assignments): 140 * 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.001236/0.7426, allocations: 489.4 kB / 1.549 GB, free: 4.512 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006686/0.7433, allocations: 198.7 kB / 1.549 GB, free: 4.316 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004963/0.7483, allocations: 2.149 MB / 1.551 GB, free: 2.137 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.7483, allocations: 16 kB / 1.551 GB, free: 2.121 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.7483, allocations: 0 / 1.551 GB, free: 2.121 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.7483, allocations: 7.969 kB / 1.551 GB, free: 2.113 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008248/0.7566, allocations: 4.137 MB / 1.555 GB, free: 13.9 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.7566, allocations: 0 / 1.555 GB, free: 13.9 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.7581, allocations: 323.6 kB / 1.555 GB, free: 13.59 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008864/0.7589, allocations: 200.1 kB / 1.555 GB, free: 13.38 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/0.7591, allocations: 43.91 kB / 1.555 GB, free: 13.33 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006751/0.7658, allocations: 7.38 MB / 1.563 GB, free: 5.246 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7658, allocations: 0 / 1.563 GB, free: 5.246 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00507/0.7709, allocations: 2.022 MB / 1.565 GB, free: 3.184 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/0.7722, allocations: 0.5187 MB / 1.565 GB, free: 2.645 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004762/0.7727, allocations: 39.89 kB / 1.565 GB, free: 2.605 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001581/0.7743, allocations: 106.1 kB / 1.565 GB, free: 2.504 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003102/0.7746, allocations: 125.1 kB / 1.565 GB, free: 2.383 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001948/0.7748, allocations: 67.95 kB / 1.565 GB, free: 2.316 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.004065/0.7789, allocations: 3.128 MB / 1.569 GB, free: 15.2 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/0.7789, allocations: 0 / 1.569 GB, free: 15.2 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002482/0.7813, allocations: 0.6976 MB / 1.569 GB, free: 14.5 MB / 1.279 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.007426/0.7888, allocations: 3.242 MB / 1.572 GB, free: 11.41 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003919/0.7927, allocations: 2.02 MB / 1.574 GB, free: 9.328 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.7927, allocations: 4.5 kB / 1.574 GB, free: 9.324 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002301/0.795, allocations: 1.372 MB / 1.576 GB, free: 7.891 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/0.7979, allocations: 0.5538 MB / 1.576 GB, free: 7.363 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03633/0.8342, allocations: 21.09 MB / 1.597 GB, free: 2.023 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/0.8359, allocations: 1.537 MB / 1.598 GB, free: 464 kB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002119/0.838, allocations: 0.5328 MB / 1.599 GB, free: 15.91 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/0.8396, allocations: 0.8975 MB / 1.6 GB, free: 15.02 MB / 1.311 GB Notification: Performance of SimCode: time 1.172e-06/0.8396, allocations: 0 / 1.6 GB, free: 15.02 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8974/1.737, allocations: 49.67 MB / 1.648 GB, free: 295.6 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.39/18.12, allocations: 13.09 kB / 1.648 GB, free: 295.6 MB / 1.311 GB " [Timeout remaining time 282] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 840.0] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 25.158141239080578]