Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.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.0007814/0.0007814, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008103/0.0008103, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8866/0.8866, allocations: 177.1 MB / 202.8 MB, free: 5.734 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 1.733/1.733, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.325e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.6346/0.6346, allocations: 212.8 MB / 1.207 GB, free: 12.12 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.009571/0.6442, allocations: 6.741 MB / 1.214 GB, free: 7.527 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001776/0.6459, allocations: 76.22 kB / 1.214 GB, free: 7.484 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.6472, allocations: 0.5049 MB / 1.215 GB, free: 7.172 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.002893/0.6501, allocations: 1.381 MB / 1.216 GB, free: 6.23 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.00329/0.6534, allocations: 1.719 MB / 1.218 GB, free: 4.969 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.002384/0.6558, allocations: 1.921 MB / 1.22 GB, free: 3.844 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007487/0.6566, allocations: 0.649 MB / 1.22 GB, free: 3.367 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002971/0.6595, allocations: 1.977 MB / 1.222 GB, free: 2.082 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006415/0.6602, allocations: 0.5918 MB / 1.223 GB, free: 1.762 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 7.724e-05/0.6602, allocations: 76.59 kB / 1.223 GB, free: 1.762 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.6621, allocations: 1.223 MB / 1.224 GB, free: 1.082 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0002253/0.6623, allocations: 319.9 kB / 1.224 GB, free: 0.8555 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0002633/0.6626, allocations: 341.2 kB / 1.225 GB, free: 0.6914 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.6644, allocations: 1.673 MB / 1.226 GB, free: 15.64 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6644, allocations: 0 / 1.226 GB, free: 15.64 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6644, allocations: 2.562 kB / 1.226 GB, free: 15.64 MB / 1.073 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.6644, allocations: 0 / 1.226 GB, free: 15.64 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001437/0.6659, allocations: 1.168 MB / 1.227 GB, free: 14.73 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.6659, allocations: 11.25 kB / 1.227 GB, free: 14.73 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.23e-05/0.666, allocations: 86.48 kB / 1.227 GB, free: 14.66 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008999/0.6669, allocations: 290.5 kB / 1.228 GB, free: 14.52 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007769/0.6677, allocations: 0.6414 MB / 1.228 GB, free: 14.02 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.6677, allocations: 38.56 kB / 1.228 GB, free: 14.01 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.63e-05/0.6678, allocations: 57.22 kB / 1.228 GB, free: 13.99 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006869/0.6685, allocations: 0.6109 MB / 1.229 GB, free: 13.62 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.6685, allocations: 0 / 1.229 GB, free: 13.62 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.632e-05/0.6685, allocations: 21.53 kB / 1.229 GB, free: 13.61 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.6685, allocations: 13.31 kB / 1.229 GB, free: 13.61 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007165/0.6692, allocations: 0.6206 MB / 1.23 GB, free: 13.3 MB / 1.073 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/0.6715, allocations: 1.946 MB / 1.232 GB, free: 11.95 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.6719, allocations: 384.2 kB / 1.232 GB, free: 11.75 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.6722, allocations: 270.9 kB / 1.232 GB, free: 11.61 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002881/0.6725, allocations: 94.86 kB / 1.232 GB, free: 11.58 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.6725, allocations: 37.64 kB / 1.232 GB, free: 11.54 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003806/0.6729, allocations: 144.8 kB / 1.232 GB, free: 11.48 MB / 1.073 GB Notification: Performance of pre-optimization done (n=39): time 2.295e-06/0.6729, allocations: 0 / 1.232 GB, free: 11.48 MB / 1.073 GB Notification: Performance of matching and sorting (n=39): time 0.00108/0.674, allocations: 0.8329 MB / 1.233 GB, free: 11.04 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.674, allocations: 56.94 kB / 1.233 GB, free: 10.98 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005469/0.6746, allocations: 0.6987 MB / 1.234 GB, free: 10.59 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.6746, allocations: 32.58 kB / 1.234 GB, free: 10.55 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.6748, allocations: 375.1 kB / 1.234 GB, free: 10.22 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 7.968e-05/0.6749, allocations: 134.4 kB / 1.235 GB, free: 10.11 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.951e-05/0.675, allocations: 95.83 kB / 1.235 GB, free: 10.04 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 8.971e-05/0.6751, allocations: 322.9 kB / 1.235 GB, free: 9.727 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/0.6753, allocations: 208.8 kB / 1.235 GB, free: 9.625 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/0.6757, allocations: 476.3 kB / 1.236 GB, free: 9.211 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005478/0.6762, allocations: 0.5031 MB / 1.236 GB, free: 8.918 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.6762, allocations: 2.125 kB / 1.236 GB, free: 8.918 MB / 1.073 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006734/0.6769, allocations: 0.6214 MB / 1.237 GB, free: 8.586 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.6769, allocations: 5.5 kB / 1.237 GB, free: 8.586 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.6769, allocations: 2.656 kB / 1.237 GB, free: 8.586 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.6769, allocations: 2.312 kB / 1.237 GB, free: 8.586 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.6772, allocations: 100.4 kB / 1.237 GB, free: 8.559 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.6772, allocations: 2.25 kB / 1.237 GB, free: 8.559 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.6775, allocations: 44.55 kB / 1.237 GB, free: 8.531 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/0.6776, allocations: 25.27 kB / 1.237 GB, free: 8.52 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000223/0.6778, allocations: 218.7 kB / 1.237 GB, free: 8.34 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.486e-05/0.6779, allocations: 83.77 kB / 1.237 GB, free: 8.297 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000767/0.6786, allocations: 0.6557 MB / 1.238 GB, free: 7.91 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.6787, allocations: 9.469 kB / 1.238 GB, free: 7.906 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6787, allocations: 0 / 1.238 GB, free: 7.906 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.6787, allocations: 0 / 1.238 GB, free: 7.906 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.6801, allocations: 1.425 MB / 1.239 GB, free: 6.461 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.6801, allocations: 7.984 kB / 1.239 GB, free: 6.453 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.6804, allocations: 79.89 kB / 1.239 GB, free: 6.375 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.6804, allocations: 4 kB / 1.239 GB, free: 6.371 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.6804, allocations: 16 kB / 1.239 GB, free: 6.355 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.6804, allocations: 4 kB / 1.239 GB, free: 6.352 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.6804, allocations: 8.344 kB / 1.239 GB, free: 6.344 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.6815, allocations: 1.038 MB / 1.24 GB, free: 5.254 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.6816, allocations: 131.4 kB / 1.24 GB, free: 5.125 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-05/0.6817, allocations: 8 kB / 1.24 GB, free: 5.117 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.6819, allocations: 39.91 kB / 1.24 GB, free: 5.078 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.586e-05/0.682, allocations: 43.81 kB / 1.241 GB, free: 5.035 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.682, allocations: 16 kB / 1.241 GB, free: 5.02 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0003993/0.6824, allocations: 0.4912 MB / 1.241 GB, free: 4.535 MB / 1.073 GB Notification: Performance of sort global known variables: time 7e-08/0.6824, allocations: 0 / 1.241 GB, free: 4.535 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0004781/0.6829, allocations: 207.7 kB / 1.241 GB, free: 4.332 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001435/0.6843, allocations: 1.683 MB / 1.243 GB, free: 2.59 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0006767/0.685, allocations: 491.3 kB / 1.243 GB, free: 2.109 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.685, allocations: 4 kB / 1.243 GB, free: 2.105 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.000306/0.6853, allocations: 261.7 kB / 1.244 GB, free: 1.852 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.6865, allocations: 451.4 kB / 1.244 GB, free: 1.422 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007584/0.6941, allocations: 6.423 MB / 1.25 GB, free: 10.75 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.6943, allocations: 371.5 kB / 1.251 GB, free: 10.36 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0006248/0.695, allocations: 174.4 kB / 1.251 GB, free: 10.18 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/0.6953, allocations: 292.4 kB / 1.251 GB, free: 9.898 MB / 1.089 GB Notification: Performance of SimCode: time 1.853e-06/0.6953, allocations: 3.938 kB / 1.251 GB, free: 9.895 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04233/0.7376, allocations: 25.39 MB / 1.276 GB, free: 1.109 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.115/7.853, allocations: 0 / 1.276 GB, free: 1.109 MB / 1.104 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.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: 11.925832477398217]