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.00175/0.00175, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002303/0.002303, allocations: 221.7 kB / 22.25 MB, free: 5.254 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.801 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.097/3.097, allocations: 0.49 GB / 0.7951 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] 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.002533/0.002533, allocations: 66.38 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3616, allocations: 176.1 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2568/0.6184, allocations: 213.2 MB / 1.534 GB, free: 11.49 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.6298, allocations: 6.732 MB / 1.541 GB, free: 4.742 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.6314, allocations: 71.38 kB / 1.541 GB, free: 4.672 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.6328, allocations: 0.5045 MB / 1.541 GB, free: 4.164 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.003297/0.6361, allocations: 1.343 MB / 1.543 GB, free: 2.816 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003931/0.6401, allocations: 1.645 MB / 1.544 GB, free: 1.176 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.002769/0.6428, allocations: 1.967 MB / 1.546 GB, free: 15.2 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.6439, allocations: 0.6689 MB / 1.547 GB, free: 14.51 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003739/0.6476, allocations: 1.713 MB / 1.548 GB, free: 12.79 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.6487, allocations: 0.7081 MB / 1.549 GB, free: 12.08 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.6489, allocations: 76 kB / 1.549 GB, free: 12.01 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/0.6512, allocations: 1.208 MB / 1.55 GB, free: 10.8 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0003316/0.6515, allocations: 307 kB / 1.551 GB, free: 10.5 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0004969/0.652, allocations: 402.2 kB / 1.551 GB, free: 10.1 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.6545, allocations: 1.6 MB / 1.553 GB, free: 8.496 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.6545, allocations: 0 / 1.553 GB, free: 8.496 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.213e-06/0.6545, allocations: 4 kB / 1.553 GB, free: 8.492 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.415e-05/0.6545, allocations: 0 / 1.553 GB, free: 8.492 MB / 1.248 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.002303/0.6568, allocations: 1.188 MB / 1.554 GB, free: 7.27 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.6568, allocations: 8.031 kB / 1.554 GB, free: 7.262 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001281/0.657, allocations: 94.52 kB / 1.554 GB, free: 7.16 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001749/0.6587, allocations: 287.1 kB / 1.554 GB, free: 6.879 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.66, allocations: 0.6426 MB / 1.555 GB, free: 6.211 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.6601, allocations: 37 kB / 1.555 GB, free: 6.172 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.6602, allocations: 55.94 kB / 1.555 GB, free: 6.117 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.6613, allocations: 0.6076 MB / 1.555 GB, free: 5.504 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.6613, allocations: 3.938 kB / 1.555 GB, free: 5.5 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.996e-05/0.6614, allocations: 20 kB / 1.555 GB, free: 5.48 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.6614, allocations: 12 kB / 1.555 GB, free: 5.469 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.6625, allocations: 0.6246 MB / 1.556 GB, free: 4.848 MB / 1.248 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.003657/0.6662, allocations: 1.956 MB / 1.558 GB, free: 2.824 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006818/0.6669, allocations: 371.3 kB / 1.558 GB, free: 2.453 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004831/0.6674, allocations: 261.3 kB / 1.559 GB, free: 2.195 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005738/0.6679, allocations: 100.2 kB / 1.559 GB, free: 2.098 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.668, allocations: 34.89 kB / 1.559 GB, free: 2.055 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00083/0.6688, allocations: 151.6 kB / 1.559 GB, free: 1.906 MB / 1.248 GB Notification: Performance of pre-optimization done (n=39): time 2.074e-06/0.6688, allocations: 4 kB / 1.559 GB, free: 1.902 MB / 1.248 GB Notification: Performance of matching and sorting (n=39): time 0.001817/0.6706, allocations: 0.8179 MB / 1.56 GB, free: 1.078 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.6707, allocations: 63.28 kB / 1.56 GB, free: 1.004 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008628/0.6715, allocations: 0.7157 MB / 1.56 GB, free: 280 kB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/0.6716, allocations: 33.7 kB / 1.56 GB, free: 240 kB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.6719, allocations: 360.9 kB / 1.561 GB, free: 15.88 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.672, allocations: 146.7 kB / 1.561 GB, free: 15.73 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.6722, allocations: 93.97 kB / 1.561 GB, free: 15.64 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.6723, allocations: 318 kB / 1.561 GB, free: 15.32 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/0.6728, allocations: 208.6 kB / 1.562 GB, free: 15.12 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006113/0.6734, allocations: 480.7 kB / 1.562 GB, free: 14.57 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000914/0.6743, allocations: 0.4928 MB / 1.562 GB, free: 14.06 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.6743, allocations: 0 / 1.562 GB, free: 14.06 MB / 1.264 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001177/0.6755, allocations: 0.6289 MB / 1.563 GB, free: 13.43 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.6755, allocations: 4 kB / 1.563 GB, free: 13.42 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6755, allocations: 3.938 kB / 1.563 GB, free: 13.42 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.6755, allocations: 4 kB / 1.563 GB, free: 13.41 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/0.6761, allocations: 104 kB / 1.563 GB, free: 13.31 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.6761, allocations: 8 kB / 1.563 GB, free: 13.3 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/0.6766, allocations: 35.95 kB / 1.563 GB, free: 13.27 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.797e-05/0.6767, allocations: 19.98 kB / 1.563 GB, free: 13.25 MB / 1.264 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.0002903/0.6769, allocations: 217.7 kB / 1.563 GB, free: 13.03 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.6771, allocations: 87.42 kB / 1.564 GB, free: 12.94 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.6784, allocations: 0.6532 MB / 1.564 GB, free: 12.28 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.6784, allocations: 7.938 kB / 1.564 GB, free: 12.27 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.6785, allocations: 3.984 kB / 1.564 GB, free: 12.27 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6785, allocations: 0 / 1.564 GB, free: 12.27 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002578/0.681, allocations: 1.414 MB / 1.566 GB, free: 10.76 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.681, allocations: 3.938 kB / 1.566 GB, free: 10.76 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004852/0.6815, allocations: 83.89 kB / 1.566 GB, free: 10.68 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/0.6815, allocations: 11.98 kB / 1.566 GB, free: 10.66 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/0.6816, allocations: 12.41 kB / 1.566 GB, free: 10.65 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/0.6816, allocations: 12 kB / 1.566 GB, free: 10.64 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.376e-05/0.6816, allocations: 7.938 kB / 1.566 GB, free: 10.63 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.6833, allocations: 1.06 MB / 1.567 GB, free: 9.52 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/0.6836, allocations: 123.5 kB / 1.567 GB, free: 9.398 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.6837, allocations: 15.98 kB / 1.567 GB, free: 9.383 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005126/0.6843, allocations: 27.97 kB / 1.567 GB, free: 9.355 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.6844, allocations: 39.97 kB / 1.567 GB, free: 9.316 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.6844, allocations: 15.94 kB / 1.567 GB, free: 9.301 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006592/0.6851, allocations: 0.4989 MB / 1.567 GB, free: 8.805 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.6851, allocations: 0 / 1.567 GB, free: 8.805 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0006612/0.6857, allocations: 199.7 kB / 1.568 GB, free: 8.609 MB / 1.264 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.002247/0.688, allocations: 1.7 MB / 1.569 GB, free: 6.844 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.689, allocations: 496 kB / 1.57 GB, free: 6.359 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.689, allocations: 3.938 kB / 1.57 GB, free: 6.355 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.000504/0.6895, allocations: 268.5 kB / 1.57 GB, free: 6.094 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/0.6914, allocations: 461.3 kB / 1.57 GB, free: 5.652 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/0.7036, allocations: 6.472 MB / 1.577 GB, free: 14.94 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.704, allocations: 371.4 kB / 1.577 GB, free: 14.55 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0006931/0.7047, allocations: 174.4 kB / 1.577 GB, free: 14.37 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004605/0.7051, allocations: 287.3 kB / 1.578 GB, free: 14.09 MB / 1.279 GB Notification: Performance of SimCode: time 7.91e-07/0.7051, allocations: 0 / 1.578 GB, free: 14.09 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09012/0.7952, allocations: 25.72 MB / 1.603 GB, free: 4.969 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.43, allocations: 6.125 kB / 1.603 GB, free: 4.965 MB / 1.295 GB " [Timeout remaining time 287] (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: 19.728876951994607]