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.001614/0.001614, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001978/0.001978, allocations: 216.4 kB / 23.03 MB, free: 4.922 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.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.797 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 3.097/3.097, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 177] 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.001939/0.001939, allocations: 69.94 kB / 1.17 GB, free: 19.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3223, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2401/0.5624, allocations: 213.1 MB / 1.553 GB, free: 10.1 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01168/0.5741, allocations: 6.72 MB / 1.56 GB, free: 3.363 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001719/0.5758, allocations: 79.31 kB / 1.56 GB, free: 3.285 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.5774, allocations: 0.4968 MB / 1.56 GB, free: 2.785 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.003585/0.581, allocations: 1.352 MB / 1.562 GB, free: 1.43 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.004283/0.5853, allocations: 1.652 MB / 1.563 GB, free: 15.78 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.003084/0.5883, allocations: 1.959 MB / 1.565 GB, free: 13.82 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.5896, allocations: 0.6611 MB / 1.566 GB, free: 13.14 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00412/0.5937, allocations: 1.713 MB / 1.568 GB, free: 11.42 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.5951, allocations: 0.7004 MB / 1.568 GB, free: 10.72 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002476/0.5954, allocations: 72 kB / 1.568 GB, free: 10.65 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002851/0.5982, allocations: 1.215 MB / 1.57 GB, free: 9.43 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0004953/0.5987, allocations: 299 kB / 1.57 GB, free: 9.137 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0008462/0.5996, allocations: 406.2 kB / 1.57 GB, free: 8.738 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.003409/0.603, allocations: 1.604 MB / 1.572 GB, free: 7.129 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.603, allocations: 4 kB / 1.572 GB, free: 7.125 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.504e-06/0.603, allocations: 0 / 1.572 GB, free: 7.125 MB / 1.264 GB Notification: Performance of Transformations before backend: time 3.912e-05/0.603, allocations: 0 / 1.572 GB, free: 7.125 MB / 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.002598/0.6056, allocations: 1.18 MB / 1.573 GB, free: 5.91 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.6057, allocations: 12.03 kB / 1.573 GB, free: 5.898 MB / 1.264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.289e-05/0.6057, allocations: 17 kB / 1.573 GB, free: 5.883 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000122/0.6058, allocations: 86.52 kB / 1.573 GB, free: 5.789 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/0.6076, allocations: 287.1 kB / 1.573 GB, free: 5.508 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.6089, allocations: 0.6425 MB / 1.574 GB, free: 4.832 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.156e-05/0.609, allocations: 44.94 kB / 1.574 GB, free: 4.789 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.6091, allocations: 55.94 kB / 1.574 GB, free: 4.734 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.6103, allocations: 0.6115 MB / 1.575 GB, free: 4.117 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.6103, allocations: 0 / 1.575 GB, free: 4.117 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.847e-05/0.6103, allocations: 20 kB / 1.575 GB, free: 4.098 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.6104, allocations: 16 kB / 1.575 GB, free: 4.082 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.6116, allocations: 0.6246 MB / 1.575 GB, free: 3.457 MB / 1.264 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.003629/0.6152, allocations: 1.953 MB / 1.577 GB, free: 1.441 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006742/0.6159, allocations: 371.3 kB / 1.578 GB, free: 1.07 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000482/0.6164, allocations: 261.3 kB / 1.578 GB, free: 0.8125 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005641/0.6169, allocations: 96.23 kB / 1.578 GB, free: 0.7188 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.617, allocations: 38.89 kB / 1.578 GB, free: 0.6719 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008074/0.6178, allocations: 147.6 kB / 1.578 GB, free: 0.5273 MB / 1.264 GB Notification: Performance of pre-optimization done (n=39): time 2.755e-06/0.6178, allocations: 4 kB / 1.578 GB, free: 0.5234 MB / 1.264 GB Notification: Performance of matching and sorting (n=39): time 0.001869/0.6196, allocations: 0.8294 MB / 1.579 GB, free: 15.69 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.6197, allocations: 55.41 kB / 1.579 GB, free: 15.62 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009357/0.6206, allocations: 0.7119 MB / 1.58 GB, free: 14.9 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.809e-05/0.6207, allocations: 33.7 kB / 1.58 GB, free: 14.86 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/0.621, allocations: 360.8 kB / 1.58 GB, free: 14.51 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.6211, allocations: 142.7 kB / 1.58 GB, free: 14.37 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.6213, allocations: 94.03 kB / 1.58 GB, free: 14.27 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.6214, allocations: 318 kB / 1.581 GB, free: 13.95 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00042/0.6218, allocations: 212.6 kB / 1.581 GB, free: 13.75 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006068/0.6224, allocations: 484.7 kB / 1.581 GB, free: 13.2 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009212/0.6234, allocations: 0.4926 MB / 1.582 GB, free: 12.69 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6234, allocations: 0 / 1.582 GB, free: 12.69 MB / 1.279 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001165/0.6245, allocations: 0.6216 MB / 1.582 GB, free: 12.06 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.6245, allocations: 11.94 kB / 1.582 GB, free: 12.05 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.6246, allocations: 0 / 1.582 GB, free: 12.05 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.6246, allocations: 7.938 kB / 1.582 GB, free: 12.04 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005438/0.6251, allocations: 100 kB / 1.582 GB, free: 11.94 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.6251, allocations: 0 / 1.582 GB, free: 11.94 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005202/0.6256, allocations: 39.89 kB / 1.582 GB, free: 11.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/0.6257, allocations: 23.98 kB / 1.582 GB, free: 11.88 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.0002902/0.626, allocations: 217.7 kB / 1.583 GB, free: 11.66 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.6261, allocations: 83.48 kB / 1.583 GB, free: 11.57 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.6274, allocations: 0.6534 MB / 1.583 GB, free: 10.91 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.6274, allocations: 11.92 kB / 1.583 GB, free: 10.9 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6275, allocations: 0 / 1.583 GB, free: 10.9 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.6275, allocations: 0 / 1.583 GB, free: 10.9 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.6299, allocations: 1.421 MB / 1.585 GB, free: 9.387 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.6299, allocations: 4 kB / 1.585 GB, free: 9.383 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004692/0.6304, allocations: 83.88 kB / 1.585 GB, free: 9.301 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.6304, allocations: 4 kB / 1.585 GB, free: 9.297 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/0.6304, allocations: 16.41 kB / 1.585 GB, free: 9.281 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.6304, allocations: 15.88 kB / 1.585 GB, free: 9.266 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.6304, allocations: 7.938 kB / 1.585 GB, free: 9.258 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.6321, allocations: 1.056 MB / 1.586 GB, free: 8.148 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002706/0.6324, allocations: 127.4 kB / 1.586 GB, free: 8.023 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.6325, allocations: 16 kB / 1.586 GB, free: 8.008 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004768/0.6329, allocations: 23.97 kB / 1.586 GB, free: 7.984 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.633, allocations: 51.75 kB / 1.586 GB, free: 7.934 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.6331, allocations: 12 kB / 1.586 GB, free: 7.922 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0006516/0.6337, allocations: 0.4951 MB / 1.587 GB, free: 7.434 MB / 1.279 GB Notification: Performance of sort global known variables: time 7e-08/0.6337, allocations: 0 / 1.587 GB, free: 7.434 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0006294/0.6344, allocations: 199.7 kB / 1.587 GB, free: 7.238 MB / 1.279 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.002219/0.6366, allocations: 1.686 MB / 1.589 GB, free: 5.484 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.6376, allocations: 499.2 kB / 1.589 GB, free: 4.996 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6376, allocations: 0 / 1.589 GB, free: 4.996 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0005069/0.6381, allocations: 264.8 kB / 1.589 GB, free: 4.738 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.6401, allocations: 463.6 kB / 1.59 GB, free: 4.289 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/0.6523, allocations: 6.482 MB / 1.596 GB, free: 13.56 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.6527, allocations: 371.4 kB / 1.596 GB, free: 13.17 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0006447/0.6533, allocations: 174.4 kB / 1.597 GB, free: 13 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004603/0.6538, allocations: 283.3 kB / 1.597 GB, free: 12.72 MB / 1.295 GB Notification: Performance of SimCode: time 5.01e-07/0.6538, allocations: 0 / 1.597 GB, free: 12.72 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6626/1.316, allocations: 25.16 MB / 1.621 GB, free: 261.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.76, allocations: 8.25 kB / 1.621 GB, free: 261.4 MB / 1.295 GB " [Timeout remaining time 286] (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: 20.402432168950327]