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.001745/0.001745, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001953/0.001953, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.516/1.516, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.982/2.982, allocations: 0.5003 GB / 0.8026 GB, free: 6.719 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="cs",version="2.0",platforms={"static"}) [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.002054/0.002054, allocations: 59.91 kB / 1.165 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.113, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.3028/1.416, allocations: 243.9 MB / 1.578 GB, free: 4.004 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01319/1.429, allocations: 7.172 MB / 1.585 GB, free: 12.82 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002299/1.431, allocations: 71.38 kB / 1.585 GB, free: 12.75 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.001735/1.433, allocations: 0.5279 MB / 1.586 GB, free: 12.21 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.00389/1.437, allocations: 1.354 MB / 1.587 GB, free: 10.86 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.004114/1.441, allocations: 1.644 MB / 1.589 GB, free: 9.215 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.002975/1.444, allocations: 1.931 MB / 1.591 GB, free: 7.281 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/1.445, allocations: 0.6957 MB / 1.591 GB, free: 6.574 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004448/1.449, allocations: 1.689 MB / 1.593 GB, free: 4.879 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/1.45, allocations: 0.7003 MB / 1.594 GB, free: 4.176 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/1.451, allocations: 80 kB / 1.594 GB, free: 4.098 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003166/1.454, allocations: 1.551 MB / 1.595 GB, free: 2.543 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0003288/1.454, allocations: 303 kB / 1.596 GB, free: 2.246 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.000538/1.455, allocations: 485.7 kB / 1.596 GB, free: 1.77 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.002934/1.458, allocations: 1.655 MB / 1.598 GB, free: 112 kB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/1.458, allocations: 0 / 1.598 GB, free: 112 kB / 1.264 GB Notification: Performance of FrontEnd: time 2.054e-06/1.458, allocations: 0 / 1.598 GB, free: 112 kB / 1.264 GB Notification: Performance of Transformations before backend: time 1.406e-05/1.458, allocations: 0 / 1.598 GB, free: 112 kB / 1.264 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.002546/1.46, allocations: 1.264 MB / 1.599 GB, free: 14.79 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/1.46, allocations: 11.97 kB / 1.599 GB, free: 14.78 MB / 1.279 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.81e-05/1.46, allocations: 16.94 kB / 1.599 GB, free: 14.76 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001239/1.46, allocations: 90.52 kB / 1.599 GB, free: 14.66 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/1.462, allocations: 287.1 kB / 1.599 GB, free: 14.38 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/1.463, allocations: 0.7186 MB / 1.6 GB, free: 13.62 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.994e-05/1.463, allocations: 37 kB / 1.6 GB, free: 13.58 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/1.464, allocations: 52 kB / 1.6 GB, free: 13.53 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/1.465, allocations: 0.6153 MB / 1.601 GB, free: 12.91 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/1.465, allocations: 0 / 1.601 GB, free: 12.91 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6e-05/1.465, allocations: 20 kB / 1.601 GB, free: 12.89 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/1.465, allocations: 12 kB / 1.601 GB, free: 12.88 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/1.466, allocations: 0.6207 MB / 1.601 GB, free: 12.26 MB / 1.279 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.004068/1.47, allocations: 2.881 MB / 1.604 GB, free: 9.133 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007191/1.471, allocations: 379.3 kB / 1.605 GB, free: 8.754 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000498/1.471, allocations: 265.3 kB / 1.605 GB, free: 8.492 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007042/1.472, allocations: 404.7 kB / 1.605 GB, free: 8.023 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/1.472, allocations: 34.89 kB / 1.605 GB, free: 7.98 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007774/1.473, allocations: 151.6 kB / 1.605 GB, free: 7.832 MB / 1.279 GB Notification: Performance of pre-optimization done (n=39): time 2.044e-06/1.473, allocations: 0 / 1.605 GB, free: 7.832 MB / 1.279 GB Notification: Performance of matching and sorting (n=39): time 0.001937/1.475, allocations: 0.8294 MB / 1.606 GB, free: 6.996 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/1.475, allocations: 59.41 kB / 1.606 GB, free: 6.926 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009148/1.476, allocations: 0.708 MB / 1.607 GB, free: 6.211 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/1.476, allocations: 33.7 kB / 1.607 GB, free: 6.172 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/1.476, allocations: 360.8 kB / 1.607 GB, free: 5.816 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/1.476, allocations: 146.7 kB / 1.607 GB, free: 5.672 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/1.476, allocations: 94.03 kB / 1.608 GB, free: 5.574 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.476, allocations: 321.9 kB / 1.608 GB, free: 5.254 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004367/1.477, allocations: 208.6 kB / 1.608 GB, free: 5.051 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005354/1.477, allocations: 301 kB / 1.608 GB, free: 4.727 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009654/1.478, allocations: 0.5031 MB / 1.609 GB, free: 4.207 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/1.478, allocations: 0 / 1.609 GB, free: 4.207 MB / 1.279 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001227/1.48, allocations: 0.6252 MB / 1.609 GB, free: 3.574 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/1.48, allocations: 4 kB / 1.609 GB, free: 3.57 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/1.48, allocations: 0 / 1.609 GB, free: 3.57 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/1.48, allocations: 7.938 kB / 1.609 GB, free: 3.562 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005453/1.48, allocations: 99.86 kB / 1.61 GB, free: 3.465 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/1.48, allocations: 4 kB / 1.61 GB, free: 3.461 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005395/1.481, allocations: 44.05 kB / 1.61 GB, free: 3.418 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.134e-05/1.481, allocations: 15.98 kB / 1.61 GB, free: 3.402 MB / 1.279 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.000307/1.481, allocations: 217.7 kB / 1.61 GB, free: 3.18 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/1.481, allocations: 87.42 kB / 1.61 GB, free: 3.094 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/1.483, allocations: 0.6497 MB / 1.611 GB, free: 2.434 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/1.483, allocations: 11.92 kB / 1.611 GB, free: 2.422 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/1.483, allocations: 4 kB / 1.611 GB, free: 2.418 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.483, allocations: 0 / 1.611 GB, free: 2.418 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/1.485, allocations: 1.531 MB / 1.612 GB, free: 0.793 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/1.485, allocations: 0 / 1.612 GB, free: 0.793 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004827/1.486, allocations: 79.89 kB / 1.612 GB, free: 0.7148 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/1.486, allocations: 8 kB / 1.612 GB, free: 0.707 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/1.486, allocations: 12 kB / 1.612 GB, free: 0.6953 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-06/1.486, allocations: 11.94 kB / 1.612 GB, free: 0.6836 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/1.486, allocations: 11.88 kB / 1.612 GB, free: 0.6719 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/1.488, allocations: 1.057 MB / 1.613 GB, free: 15.56 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002823/1.488, allocations: 204.5 kB / 1.613 GB, free: 15.34 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-05/1.488, allocations: 8 kB / 1.613 GB, free: 15.34 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/1.489, allocations: 31.95 kB / 1.613 GB, free: 15.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.489, allocations: 39.84 kB / 1.613 GB, free: 15.27 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/1.489, allocations: 16 kB / 1.613 GB, free: 15.25 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006538/1.489, allocations: 0.4951 MB / 1.614 GB, free: 14.76 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.489, allocations: 0 / 1.614 GB, free: 14.76 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0006675/1.49, allocations: 199.8 kB / 1.614 GB, free: 14.57 MB / 1.295 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.002348/1.492, allocations: 1.697 MB / 1.616 GB, free: 12.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001114/1.493, allocations: 491.3 kB / 1.616 GB, free: 12.32 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.493, allocations: 0 / 1.616 GB, free: 12.32 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0005389/1.494, allocations: 268.5 kB / 1.617 GB, free: 12.06 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/1.496, allocations: 465.9 kB / 1.617 GB, free: 11.61 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/1.509, allocations: 6.479 MB / 1.623 GB, free: 4.891 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006504/1.51, allocations: 0.969 MB / 1.624 GB, free: 3.895 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0007509/1.51, allocations: 174.4 kB / 1.624 GB, free: 3.719 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004798/1.511, allocations: 287.3 kB / 1.625 GB, free: 3.438 MB / 1.295 GB Notification: Performance of SimCode: time 1.413e-06/1.511, allocations: 0 / 1.625 GB, free: 3.438 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04967/1.561, allocations: 23.22 MB / 1.647 GB, free: 12.67 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.771/11.33, allocations: 23.81 kB / 1.647 GB, free: 12.66 MB / 1.326 GB " [Timeout remaining time 289] (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/jenkins1/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: 18.177749989030417]