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.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.001868/0.001868, allocations: 108.2 kB / 16.45 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.002063/0.002063, 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.476/1.476, 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.261/3.261, allocations: 497.2 MB / 0.7811 GB, free: 33.59 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.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 0.001959/0.001959, allocations: 64.98 kB / 1.134 GB, free: 33.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3299, allocations: 173.9 MB / 1.304 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2661/0.596, allocations: 240.9 MB / 1.539 GB, free: 15.77 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01216/0.6082, allocations: 7.163 MB / 1.546 GB, free: 8.594 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.6098, allocations: 51.69 kB / 1.546 GB, free: 8.543 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.6114, allocations: 0.524 MB / 1.547 GB, free: 8.016 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.003581/0.615, allocations: 1.361 MB / 1.548 GB, free: 6.648 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.004101/0.6191, allocations: 1.635 MB / 1.55 GB, free: 5.02 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.002998/0.6221, allocations: 1.932 MB / 1.552 GB, free: 3.082 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.6232, allocations: 0.7034 MB / 1.552 GB, free: 2.359 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003762/0.627, allocations: 1.674 MB / 1.554 GB, free: 0.6797 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.6281, allocations: 0.7043 MB / 1.555 GB, free: 15.97 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.6283, allocations: 76 kB / 1.555 GB, free: 15.9 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002847/0.6311, allocations: 1.555 MB / 1.556 GB, free: 14.34 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0003813/0.6315, allocations: 303 kB / 1.556 GB, free: 14.04 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0006431/0.6321, allocations: 485.7 kB / 1.557 GB, free: 13.57 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.002835/0.635, allocations: 1.635 MB / 1.559 GB, free: 11.93 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.635, allocations: 0 / 1.559 GB, free: 11.93 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.523e-06/0.635, allocations: 0 / 1.559 GB, free: 11.93 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.313e-05/0.635, allocations: 0 / 1.559 GB, free: 11.93 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.002338/0.6373, allocations: 1.261 MB / 1.56 GB, free: 10.61 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.6374, allocations: 8.922 kB / 1.56 GB, free: 10.61 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.6375, allocations: 90.52 kB / 1.56 GB, free: 10.51 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/0.6393, allocations: 295 kB / 1.56 GB, free: 10.22 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.6406, allocations: 0.703 MB / 1.561 GB, free: 9.477 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.6406, allocations: 41 kB / 1.561 GB, free: 9.438 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.6407, allocations: 48 kB / 1.561 GB, free: 9.391 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.6419, allocations: 0.6115 MB / 1.561 GB, free: 8.777 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.6419, allocations: 4 kB / 1.561 GB, free: 8.773 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.654e-05/0.6419, allocations: 20 kB / 1.562 GB, free: 8.754 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.642, allocations: 12 kB / 1.562 GB, free: 8.742 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.6432, allocations: 0.6246 MB / 1.562 GB, free: 8.117 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.004277/0.6474, allocations: 2.888 MB / 1.565 GB, free: 4.977 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006955/0.6481, allocations: 371.8 kB / 1.565 GB, free: 4.605 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004858/0.6486, allocations: 269.3 kB / 1.566 GB, free: 4.34 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007146/0.6493, allocations: 404.6 kB / 1.566 GB, free: 3.871 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.6494, allocations: 34.89 kB / 1.566 GB, free: 3.828 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008081/0.6502, allocations: 151.6 kB / 1.566 GB, free: 3.68 MB / 1.264 GB Notification: Performance of pre-optimization done (n=39): time 2.154e-06/0.6502, allocations: 0 / 1.566 GB, free: 3.68 MB / 1.264 GB Notification: Performance of matching and sorting (n=39): time 0.001905/0.6521, allocations: 0.8189 MB / 1.567 GB, free: 2.855 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.6521, allocations: 63.34 kB / 1.567 GB, free: 2.781 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009224/0.6531, allocations: 0.6923 MB / 1.568 GB, free: 2.074 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.724e-05/0.6531, allocations: 37.7 kB / 1.568 GB, free: 2.031 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/0.6534, allocations: 360.7 kB / 1.568 GB, free: 1.676 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.6536, allocations: 150.7 kB / 1.568 GB, free: 1.527 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.6537, allocations: 93.98 kB / 1.568 GB, free: 1.43 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.6539, allocations: 322 kB / 1.569 GB, free: 1.109 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/0.6543, allocations: 208.6 kB / 1.569 GB, free: 0.9062 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005561/0.6549, allocations: 297.1 kB / 1.569 GB, free: 0.5859 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009377/0.6558, allocations: 0.5003 MB / 1.57 GB, free: 68 kB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.6558, allocations: 0 / 1.57 GB, free: 68 kB / 1.264 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001266/0.6571, allocations: 0.6213 MB / 1.57 GB, free: 15.43 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.6571, allocations: 4 kB / 1.57 GB, free: 15.43 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6571, allocations: 0 / 1.57 GB, free: 15.43 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.6571, allocations: 4 kB / 1.57 GB, free: 15.43 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005619/0.6577, allocations: 111.7 kB / 1.57 GB, free: 15.32 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.6577, allocations: 4 kB / 1.57 GB, free: 15.31 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000555/0.6583, allocations: 32.09 kB / 1.57 GB, free: 15.28 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.442e-05/0.6583, allocations: 23.97 kB / 1.57 GB, free: 15.26 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.0003313/0.6587, allocations: 213.7 kB / 1.571 GB, free: 15.04 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.6588, allocations: 87.48 kB / 1.571 GB, free: 14.95 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.6602, allocations: 0.6492 MB / 1.571 GB, free: 14.29 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.6602, allocations: 11.94 kB / 1.571 GB, free: 14.28 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.6602, allocations: 0 / 1.571 GB, free: 14.28 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.6602, allocations: 3.984 kB / 1.571 GB, free: 14.28 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002643/0.6628, allocations: 1.514 MB / 1.573 GB, free: 12.67 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.6628, allocations: 4 kB / 1.573 GB, free: 12.67 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004705/0.6633, allocations: 87.83 kB / 1.573 GB, free: 12.58 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.6633, allocations: 4 kB / 1.573 GB, free: 12.58 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.6633, allocations: 15.98 kB / 1.573 GB, free: 12.56 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.6634, allocations: 4 kB / 1.573 GB, free: 12.56 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.6634, allocations: 4 kB / 1.573 GB, free: 12.55 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.6651, allocations: 1.056 MB / 1.574 GB, free: 11.45 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003457/0.6654, allocations: 212.4 kB / 1.574 GB, free: 11.22 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.6655, allocations: 12 kB / 1.574 GB, free: 11.21 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/0.666, allocations: 31.97 kB / 1.574 GB, free: 11.18 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.6661, allocations: 35.89 kB / 1.574 GB, free: 11.14 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/0.6662, allocations: 16 kB / 1.574 GB, free: 11.12 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0006574/0.6668, allocations: 499 kB / 1.575 GB, free: 10.64 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6668, allocations: 0 / 1.575 GB, free: 10.64 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0006427/0.6675, allocations: 199.8 kB / 1.575 GB, free: 10.45 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.002406/0.6699, allocations: 1.712 MB / 1.577 GB, free: 8.676 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001082/0.671, allocations: 0.4919 MB / 1.577 GB, free: 8.184 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.671, allocations: 4.312 kB / 1.577 GB, free: 8.18 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.000518/0.6715, allocations: 259.6 kB / 1.577 GB, free: 7.926 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.6734, allocations: 467.2 kB / 1.578 GB, free: 7.48 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/0.6857, allocations: 6.447 MB / 1.584 GB, free: 0.7852 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006395/0.6863, allocations: 0.9613 MB / 1.585 GB, free: 15.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0006596/0.687, allocations: 174.4 kB / 1.585 GB, free: 15.62 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/0.6874, allocations: 287.3 kB / 1.585 GB, free: 15.34 MB / 1.295 GB Notification: Performance of SimCode: time 6.01e-07/0.6874, allocations: 0 / 1.585 GB, free: 15.34 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6656/1.353, allocations: 23.17 MB / 1.608 GB, free: 297.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.533/10.89, allocations: 5.797 kB / 1.608 GB, free: 297.9 MB / 1.295 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_2/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: 17.75698912004009]