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.001606/0.001606, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001996/0.001996, allocations: 216 kB / 22.26 MB, free: 5.125 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.555/1.555, allocations: 230.6 MB / 256 MB, free: 7.957 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.7951 GB, free: 33.28 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.002/0.002, allocations: 73 kB / 1.154 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3599, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2818/0.6417, allocations: 244.7 MB / 1.565 GB, free: 12.35 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.0126/0.6543, allocations: 7.197 MB / 1.572 GB, free: 5.141 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001808/0.6561, allocations: 71.38 kB / 1.572 GB, free: 5.07 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.6578, allocations: 0.5318 MB / 1.572 GB, free: 4.535 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.003787/0.6616, allocations: 1.369 MB / 1.574 GB, free: 3.16 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.004449/0.666, allocations: 1.687 MB / 1.575 GB, free: 1.477 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.004618/0.6706, allocations: 1.963 MB / 1.577 GB, free: 15.5 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002095/0.6727, allocations: 0.6572 MB / 1.578 GB, free: 14.83 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005611/0.6784, allocations: 1.736 MB / 1.58 GB, free: 13.09 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/0.6802, allocations: 0.6926 MB / 1.58 GB, free: 12.39 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0004247/0.6806, allocations: 76 kB / 1.58 GB, free: 12.32 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003894/0.6845, allocations: 1.594 MB / 1.582 GB, free: 10.72 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0005624/0.6851, allocations: 303 kB / 1.582 GB, free: 10.42 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0009883/0.6861, allocations: 481.7 kB / 1.583 GB, free: 9.949 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.003779/0.6899, allocations: 1.647 MB / 1.584 GB, free: 8.297 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6899, allocations: 0 / 1.584 GB, free: 8.297 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6899, allocations: 0 / 1.584 GB, free: 8.297 MB / 1.279 GB Notification: Performance of Transformations before backend: time 4.261e-05/0.6899, allocations: 0 / 1.584 GB, free: 8.297 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.002818/0.6927, allocations: 1.192 MB / 1.586 GB, free: 7.07 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.6928, allocations: 8.031 kB / 1.586 GB, free: 7.062 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/0.6929, allocations: 94.52 kB / 1.586 GB, free: 6.961 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/0.6947, allocations: 291.1 kB / 1.586 GB, free: 6.676 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.6963, allocations: 0.6425 MB / 1.587 GB, free: 6.008 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.181e-05/0.6963, allocations: 40.98 kB / 1.587 GB, free: 5.965 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.6964, allocations: 56 kB / 1.587 GB, free: 5.91 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.6977, allocations: 0.5998 MB / 1.587 GB, free: 5.309 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.6978, allocations: 4 kB / 1.587 GB, free: 5.305 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.881e-05/0.6978, allocations: 20 kB / 1.587 GB, free: 5.285 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.6978, allocations: 15.94 kB / 1.587 GB, free: 5.27 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.6991, allocations: 0.6207 MB / 1.588 GB, free: 4.652 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.004794/0.7039, allocations: 2.84 MB / 1.591 GB, free: 1.566 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007619/0.7047, allocations: 375.3 kB / 1.591 GB, free: 1.191 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005046/0.7052, allocations: 265.3 kB / 1.591 GB, free: 0.9297 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005704/0.7058, allocations: 92.2 kB / 1.591 GB, free: 0.8398 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.7058, allocations: 42.89 kB / 1.591 GB, free: 0.7891 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008366/0.7066, allocations: 147.6 kB / 1.591 GB, free: 0.6445 MB / 1.279 GB Notification: Performance of pre-optimization done (n=39): time 3.236e-06/0.7067, allocations: 0 / 1.591 GB, free: 0.6445 MB / 1.279 GB Notification: Performance of matching and sorting (n=39): time 0.001979/0.7086, allocations: 0.8179 MB / 1.592 GB, free: 15.82 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.7087, allocations: 59.34 kB / 1.592 GB, free: 15.75 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.7097, allocations: 0.7157 MB / 1.593 GB, free: 15.02 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 5.622e-05/0.7097, allocations: 37.7 kB / 1.593 GB, free: 14.98 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.7101, allocations: 356.8 kB / 1.593 GB, free: 14.62 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.7102, allocations: 150.7 kB / 1.594 GB, free: 14.48 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.7104, allocations: 90.03 kB / 1.594 GB, free: 14.38 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.7105, allocations: 322 kB / 1.594 GB, free: 14.06 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/0.7109, allocations: 204.6 kB / 1.594 GB, free: 13.86 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005494/0.7115, allocations: 304.8 kB / 1.594 GB, free: 13.54 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009411/0.7124, allocations: 0.4967 MB / 1.595 GB, free: 13.02 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.7124, allocations: 3.938 kB / 1.595 GB, free: 13.02 MB / 1.295 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001232/0.7137, allocations: 0.6251 MB / 1.596 GB, free: 12.38 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.7137, allocations: 5.562 kB / 1.596 GB, free: 12.38 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.7137, allocations: 3.938 kB / 1.596 GB, free: 12.38 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.7137, allocations: 4 kB / 1.596 GB, free: 12.37 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005348/0.7143, allocations: 103.8 kB / 1.596 GB, free: 12.27 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.7143, allocations: 4 kB / 1.596 GB, free: 12.27 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00057/0.7148, allocations: 36.08 kB / 1.596 GB, free: 12.23 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.477e-05/0.7149, allocations: 23.97 kB / 1.596 GB, free: 12.21 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.0003199/0.7152, allocations: 221.7 kB / 1.596 GB, free: 11.98 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.7154, allocations: 87.44 kB / 1.596 GB, free: 11.89 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.7168, allocations: 0.6493 MB / 1.597 GB, free: 11.23 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.7168, allocations: 7.938 kB / 1.597 GB, free: 11.23 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7168, allocations: 4 kB / 1.597 GB, free: 11.22 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.7168, allocations: 0 / 1.597 GB, free: 11.22 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002711/0.7195, allocations: 1.488 MB / 1.598 GB, free: 9.645 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.7195, allocations: 8.062 kB / 1.598 GB, free: 9.637 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004809/0.72, allocations: 87.83 kB / 1.598 GB, free: 9.551 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/0.72, allocations: 7.984 kB / 1.598 GB, free: 9.543 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.72, allocations: 12 kB / 1.598 GB, free: 9.531 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.72, allocations: 4 kB / 1.598 GB, free: 9.527 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.72, allocations: 7.938 kB / 1.598 GB, free: 9.52 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.7218, allocations: 1.068 MB / 1.599 GB, free: 8.398 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000315/0.7221, allocations: 119.4 kB / 1.599 GB, free: 8.281 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.7222, allocations: 23.98 kB / 1.599 GB, free: 8.258 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005253/0.7228, allocations: 27.97 kB / 1.599 GB, free: 8.23 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.7229, allocations: 39.88 kB / 1.599 GB, free: 8.191 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.7229, allocations: 12 kB / 1.599 GB, free: 8.18 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006803/0.7236, allocations: 0.4951 MB / 1.6 GB, free: 7.688 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7236, allocations: 3.938 kB / 1.6 GB, free: 7.684 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0006785/0.7243, allocations: 203.7 kB / 1.6 GB, free: 7.484 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.002295/0.7266, allocations: 1.684 MB / 1.602 GB, free: 5.734 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.7276, allocations: 496 kB / 1.602 GB, free: 5.25 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.7276, allocations: 0 / 1.602 GB, free: 5.25 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0005232/0.7281, allocations: 268.6 kB / 1.603 GB, free: 4.988 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/0.7302, allocations: 464.9 kB / 1.603 GB, free: 4.539 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6703/1.401, allocations: 6.457 MB / 1.609 GB, free: 283.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/1.401, allocations: 0.966 MB / 1.61 GB, free: 282.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0006654/1.402, allocations: 172 kB / 1.61 GB, free: 282.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000377/1.402, allocations: 286.9 kB / 1.611 GB, free: 282.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.122e-06/1.402, allocations: 0 / 1.611 GB, free: 282.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0634/1.465, allocations: 23.56 MB / 1.634 GB, free: 276.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.82, allocations: 21.67 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: 20.769696020986885]