Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00172/0.00172, allocations: 107.5 kB / 16.45 MB, free: 6.512 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.001917/0.001917, allocations: 209.7 kB / 19.42 MB, free: 3.648 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.515/1.515, allocations: 230.6 MB / 252.8 MB, free: 8.941 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.177/3.177, allocations: 0.49 GB / 0.7916 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_12_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",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.002807/0.002807, allocations: 68.22 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3519, allocations: 176.1 MB / 1.321 GB, free: 3.188 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2959/0.6478, allocations: 243.9 MB / 1.559 GB, free: 14.37 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01245/0.6603, allocations: 7.162 MB / 1.566 GB, free: 7.191 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001605/0.6619, allocations: 75.31 kB / 1.566 GB, free: 7.117 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.6634, allocations: 0.5279 MB / 1.567 GB, free: 6.586 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.003487/0.6669, allocations: 1.363 MB / 1.568 GB, free: 5.219 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.004148/0.6711, allocations: 1.639 MB / 1.57 GB, free: 3.586 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.003045/0.6741, allocations: 1.947 MB / 1.571 GB, free: 1.629 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.6754, allocations: 0.6879 MB / 1.572 GB, free: 0.9258 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003878/0.6792, allocations: 1.705 MB / 1.574 GB, free: 15.21 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.6805, allocations: 0.6926 MB / 1.574 GB, free: 14.52 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0002117/0.6808, allocations: 72 kB / 1.575 GB, free: 14.45 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002977/0.6837, allocations: 1.563 MB / 1.576 GB, free: 12.88 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.000416/0.6842, allocations: 303 kB / 1.576 GB, free: 12.59 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0007728/0.6849, allocations: 481.7 kB / 1.577 GB, free: 12.11 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.003125/0.688, allocations: 1.643 MB / 1.578 GB, free: 10.46 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6881, allocations: 4 kB / 1.578 GB, free: 10.46 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6881, allocations: 0 / 1.578 GB, free: 10.46 MB / 1.279 GB Notification: Performance of Transformations before backend: time 3.255e-05/0.6881, allocations: 0 / 1.578 GB, free: 10.46 MB / 1.279 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.002539/0.6906, allocations: 1.262 MB / 1.58 GB, free: 9.145 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.6907, allocations: 19.92 kB / 1.58 GB, free: 9.125 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.6908, allocations: 94.45 kB / 1.58 GB, free: 9.023 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.6926, allocations: 291.1 kB / 1.58 GB, free: 8.738 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.6939, allocations: 0.7186 MB / 1.581 GB, free: 7.98 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.6939, allocations: 37 kB / 1.581 GB, free: 7.945 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.694, allocations: 52 kB / 1.581 GB, free: 7.895 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.6952, allocations: 0.6037 MB / 1.581 GB, free: 7.289 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.6952, allocations: 4 kB / 1.581 GB, free: 7.285 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.646e-05/0.6952, allocations: 19.94 kB / 1.581 GB, free: 7.266 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.6952, allocations: 12 kB / 1.581 GB, free: 7.254 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.6965, allocations: 0.6285 MB / 1.582 GB, free: 6.621 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.004282/0.7008, allocations: 2.884 MB / 1.585 GB, free: 3.488 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007139/0.7015, allocations: 371.3 kB / 1.585 GB, free: 3.117 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005047/0.702, allocations: 265.3 kB / 1.585 GB, free: 2.855 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007137/0.7027, allocations: 404.7 kB / 1.586 GB, free: 2.387 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.7028, allocations: 34.89 kB / 1.586 GB, free: 2.344 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008227/0.7036, allocations: 159.6 kB / 1.586 GB, free: 2.188 MB / 1.279 GB Notification: Performance of pre-optimization done (n=39): time 2.585e-06/0.7036, allocations: 0 / 1.586 GB, free: 2.188 MB / 1.279 GB Notification: Performance of matching and sorting (n=39): time 0.001958/0.7055, allocations: 0.8295 MB / 1.587 GB, free: 1.352 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.7056, allocations: 59.34 kB / 1.587 GB, free: 1.281 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009207/0.7065, allocations: 0.6963 MB / 1.588 GB, free: 0.5703 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/0.7066, allocations: 37.7 kB / 1.588 GB, free: 0.5273 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/0.7069, allocations: 364.7 kB / 1.588 GB, free: 172 kB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.707, allocations: 150.7 kB / 1.588 GB, free: 20 kB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.7072, allocations: 86.11 kB / 1.588 GB, free: 15.93 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.7074, allocations: 333.8 kB / 1.588 GB, free: 15.59 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004517/0.7078, allocations: 204.6 kB / 1.589 GB, free: 15.39 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005589/0.7084, allocations: 301 kB / 1.589 GB, free: 15.07 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.7095, allocations: 0.4928 MB / 1.589 GB, free: 14.56 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7095, allocations: 0 / 1.589 GB, free: 14.56 MB / 1.295 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001292/0.7108, allocations: 0.6212 MB / 1.59 GB, free: 13.93 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.7108, allocations: 6.031 kB / 1.59 GB, free: 13.93 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.7108, allocations: 8.156 kB / 1.59 GB, free: 13.92 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.7108, allocations: 0 / 1.59 GB, free: 13.92 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005871/0.7114, allocations: 111.7 kB / 1.59 GB, free: 13.81 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.7114, allocations: 4 kB / 1.59 GB, free: 13.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005594/0.712, allocations: 27.97 kB / 1.59 GB, free: 13.78 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.377e-05/0.712, allocations: 23.97 kB / 1.59 GB, free: 13.75 MB / 1.295 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.0003268/0.7124, allocations: 224.6 kB / 1.59 GB, free: 13.53 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.7125, allocations: 83.44 kB / 1.591 GB, free: 13.45 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.7139, allocations: 0.6492 MB / 1.591 GB, free: 12.79 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.7139, allocations: 7.938 kB / 1.591 GB, free: 12.78 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7139, allocations: 0 / 1.591 GB, free: 12.78 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.714, allocations: 7.984 kB / 1.591 GB, free: 12.77 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002597/0.7165, allocations: 1.52 MB / 1.593 GB, free: 11.16 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.7166, allocations: 4 kB / 1.593 GB, free: 11.15 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000515/0.7171, allocations: 87.83 kB / 1.593 GB, free: 11.07 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.7171, allocations: 8.406 kB / 1.593 GB, free: 11.06 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/0.7171, allocations: 19.98 kB / 1.593 GB, free: 11.04 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.7171, allocations: 7.938 kB / 1.593 GB, free: 11.03 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.7171, allocations: 4 kB / 1.593 GB, free: 11.03 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.7189, allocations: 1.072 MB / 1.594 GB, free: 9.902 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003192/0.7193, allocations: 196.6 kB / 1.594 GB, free: 9.691 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.7194, allocations: 16 kB / 1.594 GB, free: 9.676 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005269/0.7199, allocations: 27.97 kB / 1.594 GB, free: 9.648 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.72, allocations: 39.89 kB / 1.594 GB, free: 9.609 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.72, allocations: 16 kB / 1.594 GB, free: 9.594 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0007019/0.7207, allocations: 0.4912 MB / 1.595 GB, free: 9.105 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/0.7207, allocations: 0 / 1.595 GB, free: 9.105 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0007027/0.7214, allocations: 195.8 kB / 1.595 GB, free: 8.914 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.002411/0.7238, allocations: 1.691 MB / 1.596 GB, free: 7.152 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.725, allocations: 496.2 kB / 1.597 GB, free: 6.668 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.725, allocations: 0 / 1.597 GB, free: 6.668 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0005684/0.7255, allocations: 272.7 kB / 1.597 GB, free: 6.402 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/0.7277, allocations: 464.3 kB / 1.598 GB, free: 5.957 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6101/1.338, allocations: 6.46 MB / 1.604 GB, free: 284.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/1.338, allocations: 0.9652 MB / 1.605 GB, free: 283.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0007735/1.339, allocations: 169.8 kB / 1.605 GB, free: 283.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/1.34, allocations: 287.8 kB / 1.605 GB, free: 283.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.403e-06/1.34, allocations: 0 / 1.605 GB, free: 283.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0601/1.4, allocations: 23.18 MB / 1.628 GB, free: 277.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.456/10.86, allocations: 3.156 kB / 1.628 GB, free: 277.9 MB / 1.295 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.61026486917399]