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.00192/0.00192, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002182/0.002182, allocations: 213.9 kB / 23.04 MB, free: 5.078 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.68/1.68, allocations: 230.6 MB / 256.8 MB, free: 8 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.307/3.307, allocations: 0.49 GB / 0.7959 GB, free: 33.46 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_12_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.002051/0.002051, allocations: 60.78 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3354, allocations: 176.1 MB / 1.327 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2793/0.6147, allocations: 244.7 MB / 1.566 GB, free: 12.44 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01311/0.6278, allocations: 7.19 MB / 1.573 GB, free: 5.234 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00192/0.6297, allocations: 71.38 kB / 1.573 GB, free: 5.164 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.6314, allocations: 0.5357 MB / 1.573 GB, free: 4.617 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.003812/0.6352, allocations: 1.369 MB / 1.575 GB, free: 3.242 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.004712/0.6399, allocations: 1.688 MB / 1.576 GB, free: 1.559 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.003607/0.6435, allocations: 1.963 MB / 1.578 GB, free: 15.59 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.6449, allocations: 0.6611 MB / 1.579 GB, free: 14.91 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005403/0.6503, allocations: 1.728 MB / 1.58 GB, free: 13.17 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002197/0.6525, allocations: 0.7042 MB / 1.581 GB, free: 12.46 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0004827/0.653, allocations: 76 kB / 1.581 GB, free: 12.39 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00385/0.6569, allocations: 1.578 MB / 1.583 GB, free: 10.81 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0005755/0.6575, allocations: 303 kB / 1.583 GB, free: 10.51 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.6585, allocations: 485.7 kB / 1.583 GB, free: 10.04 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.003622/0.6621, allocations: 1.643 MB / 1.585 GB, free: 8.387 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.6621, allocations: 4 kB / 1.585 GB, free: 8.383 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6621, allocations: 0 / 1.585 GB, free: 8.383 MB / 1.279 GB Notification: Performance of Transformations before backend: time 5.115e-05/0.6622, allocations: 4 kB / 1.585 GB, free: 8.379 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.003048/0.6652, allocations: 1.184 MB / 1.586 GB, free: 7.16 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.6653, allocations: 12.03 kB / 1.586 GB, free: 7.148 MB / 1.279 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.084e-05/0.6653, allocations: 13 kB / 1.586 GB, free: 7.137 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001447/0.6654, allocations: 90.52 kB / 1.586 GB, free: 7.039 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001874/0.6673, allocations: 295 kB / 1.587 GB, free: 6.75 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.6688, allocations: 0.6387 MB / 1.587 GB, free: 6.082 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/0.6689, allocations: 40.98 kB / 1.587 GB, free: 6.043 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.669, allocations: 56 kB / 1.587 GB, free: 5.988 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.6702, allocations: 0.6075 MB / 1.588 GB, free: 5.379 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.6702, allocations: 0 / 1.588 GB, free: 5.379 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.21e-05/0.6703, allocations: 20 kB / 1.588 GB, free: 5.359 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.6703, allocations: 12 kB / 1.588 GB, free: 5.348 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.6716, allocations: 0.6246 MB / 1.589 GB, free: 4.719 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.004645/0.6763, allocations: 2.84 MB / 1.591 GB, free: 1.637 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007616/0.677, allocations: 383.2 kB / 1.592 GB, free: 1.254 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004997/0.6775, allocations: 261.3 kB / 1.592 GB, free: 0.9961 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005702/0.6781, allocations: 100.2 kB / 1.592 GB, free: 0.8984 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.6781, allocations: 34.89 kB / 1.592 GB, free: 0.8555 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008583/0.679, allocations: 151.6 kB / 1.592 GB, free: 0.707 MB / 1.279 GB Notification: Performance of pre-optimization done (n=39): time 3.897e-06/0.679, allocations: 0 / 1.592 GB, free: 0.707 MB / 1.279 GB Notification: Performance of matching and sorting (n=39): time 0.002016/0.681, allocations: 0.8217 MB / 1.593 GB, free: 15.88 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.6811, allocations: 59.34 kB / 1.593 GB, free: 15.81 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.6821, allocations: 0.708 MB / 1.594 GB, free: 15.09 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.6821, allocations: 37.7 kB / 1.594 GB, free: 15.05 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/0.6824, allocations: 360.8 kB / 1.594 GB, free: 14.69 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.6826, allocations: 150.6 kB / 1.594 GB, free: 14.54 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.6828, allocations: 94.03 kB / 1.594 GB, free: 14.45 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6829, allocations: 322 kB / 1.595 GB, free: 14.12 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004555/0.6834, allocations: 208.6 kB / 1.595 GB, free: 13.92 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005704/0.6839, allocations: 308.7 kB / 1.595 GB, free: 13.59 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009673/0.6849, allocations: 0.4928 MB / 1.596 GB, free: 13.08 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6849, allocations: 0 / 1.596 GB, free: 13.08 MB / 1.295 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001259/0.6862, allocations: 0.6213 MB / 1.596 GB, free: 12.45 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.6862, allocations: 8.031 kB / 1.596 GB, free: 12.44 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.6862, allocations: 0 / 1.596 GB, free: 12.44 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.6862, allocations: 7.938 kB / 1.596 GB, free: 12.43 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/0.6868, allocations: 99.86 kB / 1.596 GB, free: 12.34 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.6868, allocations: 4 kB / 1.596 GB, free: 12.33 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006538/0.6874, allocations: 31.95 kB / 1.596 GB, free: 12.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-05/0.6875, allocations: 19.98 kB / 1.596 GB, free: 12.28 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.0004247/0.6879, allocations: 221.7 kB / 1.597 GB, free: 12.05 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.6881, allocations: 87.44 kB / 1.597 GB, free: 11.97 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.6897, allocations: 0.6492 MB / 1.597 GB, free: 11.31 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.6897, allocations: 7.938 kB / 1.597 GB, free: 11.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6897, allocations: 0 / 1.597 GB, free: 11.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/0.6898, allocations: 4 kB / 1.597 GB, free: 11.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003111/0.6929, allocations: 1.495 MB / 1.599 GB, free: 9.711 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.6929, allocations: 4 kB / 1.599 GB, free: 9.707 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/0.6934, allocations: 88.3 kB / 1.599 GB, free: 9.621 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.468e-05/0.6934, allocations: 7.984 kB / 1.599 GB, free: 9.613 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-05/0.6934, allocations: 12 kB / 1.599 GB, free: 9.602 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.6935, allocations: 4 kB / 1.599 GB, free: 9.598 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.6935, allocations: 11.88 kB / 1.599 GB, free: 9.586 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.6954, allocations: 1.068 MB / 1.6 GB, free: 8.465 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000397/0.6958, allocations: 119.5 kB / 1.6 GB, free: 8.348 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.696, allocations: 16 kB / 1.6 GB, free: 8.332 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005738/0.6965, allocations: 31.97 kB / 1.6 GB, free: 8.301 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.6967, allocations: 43.81 kB / 1.6 GB, free: 8.258 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.6967, allocations: 12 kB / 1.6 GB, free: 8.246 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.000782/0.6975, allocations: 0.4912 MB / 1.601 GB, free: 7.758 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/0.6975, allocations: 0 / 1.601 GB, free: 7.758 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0007785/0.6983, allocations: 203.7 kB / 1.601 GB, free: 7.559 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.002423/0.7007, allocations: 1.688 MB / 1.603 GB, free: 5.805 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.7018, allocations: 499.9 kB / 1.603 GB, free: 5.316 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.7018, allocations: 0 / 1.603 GB, free: 5.316 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0005441/0.7024, allocations: 264.6 kB / 1.603 GB, free: 5.059 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/0.7046, allocations: 457 kB / 1.604 GB, free: 4.617 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6526/1.357, allocations: 6.46 MB / 1.61 GB, free: 283.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/1.358, allocations: 0.9659 MB / 1.611 GB, free: 282.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0006686/1.358, allocations: 177.6 kB / 1.611 GB, free: 282.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003958/1.359, allocations: 288.1 kB / 1.611 GB, free: 282.5 MB / 1.295 GB Notification: Performance of SimCode: time 1.202e-06/1.359, allocations: 0 / 1.611 GB, free: 282.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06254/1.421, allocations: 23.6 MB / 1.634 GB, free: 276.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/14.08, allocations: 17.31 kB / 1.634 GB, free: 276.2 MB / 1.295 GB " [Timeout remaining time 286] (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: 21.397145951981656]