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.001686/0.001686, allocations: 115.9 kB / 17.16 MB, free: 5.895 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.001984/0.001984, allocations: 215 kB / 20.13 MB, free: 2.949 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.601/1.601, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.942/2.942, allocations: 0.49 GB / 0.7923 GB, free: 1.402 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.001959/0.001959, allocations: 59.91 kB / 1.15 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9371/0.939, allocations: 176.1 MB / 1.321 GB, free: 24.74 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2908/1.23, allocations: 243.9 MB / 1.56 GB, free: 5.23 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01202/1.242, allocations: 7.17 MB / 1.567 GB, free: 14.05 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/1.244, allocations: 71.38 kB / 1.567 GB, free: 13.98 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001577/1.245, allocations: 0.5279 MB / 1.567 GB, free: 13.45 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.00355/1.249, allocations: 1.363 MB / 1.569 GB, free: 12.08 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.004112/1.253, allocations: 1.637 MB / 1.57 GB, free: 10.45 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.002946/1.256, allocations: 1.94 MB / 1.572 GB, free: 8.496 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/1.257, allocations: 0.6879 MB / 1.573 GB, free: 7.789 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004386/1.261, allocations: 1.697 MB / 1.574 GB, free: 6.086 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/1.263, allocations: 0.7003 MB / 1.575 GB, free: 5.383 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002761/1.263, allocations: 72 kB / 1.575 GB, free: 5.312 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003361/1.266, allocations: 1.555 MB / 1.577 GB, free: 3.754 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0004761/1.267, allocations: 306.9 kB / 1.577 GB, free: 3.453 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0009542/1.268, allocations: 485.7 kB / 1.577 GB, free: 2.977 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.004498/1.272, allocations: 1.651 MB / 1.579 GB, free: 1.32 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.272, allocations: 3.938 kB / 1.579 GB, free: 1.316 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.114e-06/1.272, allocations: 0 / 1.579 GB, free: 1.316 MB / 1.248 GB Notification: Performance of Transformations before backend: time 6.314e-05/1.272, allocations: 0 / 1.579 GB, free: 1.316 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.003304/1.276, allocations: 1.263 MB / 1.58 GB, free: 0 / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 8.071e-05/1.276, allocations: 16.03 kB / 1.58 GB, free: 15.98 MB / 1.264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.285e-05/1.276, allocations: 13 kB / 1.58 GB, free: 15.96 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001853/1.276, allocations: 90.47 kB / 1.58 GB, free: 15.87 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001916/1.278, allocations: 287.1 kB / 1.581 GB, free: 15.59 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/1.279, allocations: 0.7186 MB / 1.581 GB, free: 14.83 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.428e-05/1.279, allocations: 41 kB / 1.581 GB, free: 14.79 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/1.28, allocations: 55.98 kB / 1.581 GB, free: 14.74 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/1.281, allocations: 0.6153 MB / 1.582 GB, free: 14.12 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/1.281, allocations: 0 / 1.582 GB, free: 14.12 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.823e-05/1.281, allocations: 16 kB / 1.582 GB, free: 14.1 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/1.281, allocations: 12 kB / 1.582 GB, free: 14.09 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/1.282, allocations: 0.6246 MB / 1.583 GB, free: 13.46 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.004538/1.287, allocations: 2.872 MB / 1.586 GB, free: 10.34 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007258/1.287, allocations: 379.3 kB / 1.586 GB, free: 9.965 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000509/1.288, allocations: 269.3 kB / 1.586 GB, free: 9.699 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007347/1.289, allocations: 396.7 kB / 1.587 GB, free: 9.238 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/1.289, allocations: 38.89 kB / 1.587 GB, free: 9.191 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008084/1.29, allocations: 155.6 kB / 1.587 GB, free: 9.039 MB / 1.264 GB Notification: Performance of pre-optimization done (n=39): time 3.426e-06/1.29, allocations: 7.938 kB / 1.587 GB, free: 9.031 MB / 1.264 GB Notification: Performance of matching and sorting (n=39): time 0.002051/1.292, allocations: 0.8256 MB / 1.588 GB, free: 8.199 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/1.292, allocations: 63.34 kB / 1.588 GB, free: 8.125 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/1.293, allocations: 0.6963 MB / 1.588 GB, free: 7.418 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/1.293, allocations: 37.7 kB / 1.588 GB, free: 7.375 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/1.293, allocations: 368.7 kB / 1.589 GB, free: 7.012 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/1.293, allocations: 146.7 kB / 1.589 GB, free: 6.867 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/1.293, allocations: 86.03 kB / 1.589 GB, free: 6.777 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.294, allocations: 322 kB / 1.589 GB, free: 6.457 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004655/1.294, allocations: 212.6 kB / 1.589 GB, free: 6.25 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005704/1.295, allocations: 293.1 kB / 1.59 GB, free: 5.934 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000999/1.296, allocations: 0.493 MB / 1.59 GB, free: 5.422 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/1.296, allocations: 11.94 kB / 1.59 GB, free: 5.41 MB / 1.264 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001308/1.297, allocations: 0.6134 MB / 1.591 GB, free: 4.789 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/1.297, allocations: 4 kB / 1.591 GB, free: 4.785 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.297, allocations: 8 kB / 1.591 GB, free: 4.777 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/1.297, allocations: 7.938 kB / 1.591 GB, free: 4.77 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/1.297, allocations: 104 kB / 1.591 GB, free: 4.668 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/1.298, allocations: 8.062 kB / 1.591 GB, free: 4.66 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005662/1.298, allocations: 27.97 kB / 1.591 GB, free: 4.633 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.549e-05/1.298, allocations: 27.97 kB / 1.591 GB, free: 4.605 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.0003193/1.298, allocations: 215.7 kB / 1.591 GB, free: 4.387 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/1.299, allocations: 87.44 kB / 1.591 GB, free: 4.301 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/1.3, allocations: 0.6457 MB / 1.592 GB, free: 3.645 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/1.3, allocations: 7.938 kB / 1.592 GB, free: 3.637 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.3, allocations: 4 kB / 1.592 GB, free: 3.633 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/1.3, allocations: 3.984 kB / 1.592 GB, free: 3.629 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/1.303, allocations: 1.525 MB / 1.593 GB, free: 2.008 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/1.303, allocations: 4 kB / 1.593 GB, free: 2.004 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004875/1.303, allocations: 83.89 kB / 1.593 GB, free: 1.922 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/1.303, allocations: 4 kB / 1.593 GB, free: 1.918 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/1.303, allocations: 15.98 kB / 1.593 GB, free: 1.902 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/1.303, allocations: 8.406 kB / 1.593 GB, free: 1.895 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/1.303, allocations: 15.88 kB / 1.593 GB, free: 1.879 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/1.305, allocations: 1.064 MB / 1.595 GB, free: 0.7617 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/1.306, allocations: 200.5 kB / 1.595 GB, free: 0.5469 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/1.306, allocations: 16 kB / 1.595 GB, free: 0.5312 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005188/1.306, allocations: 27.97 kB / 1.595 GB, free: 0.5039 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/1.306, allocations: 47.83 kB / 1.595 GB, free: 468 kB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/1.306, allocations: 16 kB / 1.595 GB, free: 452 kB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007193/1.307, allocations: 0.4912 MB / 1.595 GB, free: 15.95 MB / 1.279 GB Notification: Performance of sort global known variables: time 7e-08/1.307, allocations: 0 / 1.595 GB, free: 15.95 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.000683/1.308, allocations: 195.8 kB / 1.595 GB, free: 15.76 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.00241/1.31, allocations: 1.695 MB / 1.597 GB, free: 14 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001105/1.311, allocations: 488.2 kB / 1.598 GB, free: 13.52 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.311, allocations: 4 kB / 1.598 GB, free: 13.52 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0005439/1.312, allocations: 259.6 kB / 1.598 GB, free: 13.27 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/1.314, allocations: 470.7 kB / 1.598 GB, free: 12.82 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/1.327, allocations: 6.473 MB / 1.605 GB, free: 6.098 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006873/1.328, allocations: 0.969 MB / 1.606 GB, free: 5.102 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.000692/1.328, allocations: 178.4 kB / 1.606 GB, free: 4.922 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004916/1.329, allocations: 291.3 kB / 1.606 GB, free: 4.637 MB / 1.279 GB Notification: Performance of SimCode: time 1.192e-06/1.329, allocations: 7.938 kB / 1.606 GB, free: 4.629 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05254/1.381, allocations: 23.21 MB / 1.629 GB, free: 13.89 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.773/11.15, allocations: 14.75 kB / 1.629 GB, free: 13.88 MB / 1.311 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.960300598002505]