Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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.0008904/0.0008904, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008752/0.0008752, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8206/0.8206, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.702/1.702, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.587e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing): time 0.009902/0.009917, allocations: 14.22 MB / 1.014 GB, free: 15.22 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003732/0.01365, allocations: 4.253 MB / 1.018 GB, free: 10.95 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000282/0.01393, allocations: 23.75 kB / 1.018 GB, free: 10.93 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004453/0.01438, allocations: 190.6 kB / 1.018 GB, free: 10.74 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0009231/0.0153, allocations: 0.5981 MB / 1.018 GB, free: 10.14 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009749/0.01627, allocations: 0.6049 MB / 1.019 GB, free: 9.543 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0008657/0.01714, allocations: 0.9268 MB / 1.02 GB, free: 8.613 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003114/0.01745, allocations: 240.3 kB / 1.02 GB, free: 8.371 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005975/0.01805, allocations: 0.5722 MB / 1.021 GB, free: 7.797 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.0183, allocations: 259.2 kB / 1.021 GB, free: 7.543 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.01834, allocations: 20 kB / 1.021 GB, free: 7.523 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002814/0.01862, allocations: 179.7 kB / 1.021 GB, free: 7.348 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 7.85e-05/0.0187, allocations: 91.53 kB / 1.021 GB, free: 7.258 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 9.623e-05/0.01879, allocations: 127.6 kB / 1.021 GB, free: 7.133 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0004467/0.01924, allocations: 0.5022 MB / 1.022 GB, free: 6.629 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.01924, allocations: 0 / 1.022 GB, free: 6.629 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.012e-06/0.01924, allocations: 0 / 1.022 GB, free: 6.629 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.01925, allocations: 0 / 1.022 GB, free: 6.629 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007571/0.02001, allocations: 0.6446 MB / 1.023 GB, free: 5.953 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.02004, allocations: 8.75 kB / 1.023 GB, free: 5.945 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.247e-05/0.02008, allocations: 54.73 kB / 1.023 GB, free: 5.883 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.512e-05/0.02015, allocations: 52.61 kB / 1.023 GB, free: 5.832 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.02053, allocations: 322.5 kB / 1.023 GB, free: 5.488 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.02054, allocations: 20.88 kB / 1.023 GB, free: 5.469 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.02057, allocations: 24.38 kB / 1.023 GB, free: 5.445 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.0208, allocations: 200 kB / 1.023 GB, free: 5.246 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.02081, allocations: 0 / 1.023 GB, free: 5.246 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.02082, allocations: 12 kB / 1.023 GB, free: 5.234 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.02083, allocations: 8 kB / 1.023 GB, free: 5.227 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.02098, allocations: 133.9 kB / 1.023 GB, free: 5.094 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008189/0.0218, allocations: 0.6899 MB / 1.024 GB, free: 4.363 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.02206, allocations: 106.6 kB / 1.024 GB, free: 4.25 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.101e-05/0.02211, allocations: 48.77 kB / 1.024 GB, free: 4.199 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 8.54e-05/0.0222, allocations: 27.98 kB / 1.024 GB, free: 4.172 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.02222, allocations: 34.56 kB / 1.024 GB, free: 4.129 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=12): time 1.914e-06/0.02222, allocations: 3.984 kB / 1.024 GB, free: 4.125 MB / 0.9792 GB Notification: Performance of matching and sorting (n=12): time 0.0002467/0.02247, allocations: 181.2 kB / 1.024 GB, free: 3.941 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.02249, allocations: 55.41 kB / 1.024 GB, free: 3.875 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.02281, allocations: 437.8 kB / 1.025 GB, free: 3.441 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.02282, allocations: 33.7 kB / 1.025 GB, free: 3.402 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.02293, allocations: 208.4 kB / 1.025 GB, free: 3.195 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.02295, allocations: 43.62 kB / 1.025 GB, free: 3.152 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.023, allocations: 53.7 kB / 1.025 GB, free: 3.094 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.02308, allocations: 346.8 kB / 1.026 GB, free: 2.746 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.862e-05/0.02315, allocations: 51.97 kB / 1.026 GB, free: 2.695 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.0233, allocations: 260.4 kB / 1.026 GB, free: 2.387 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.02343, allocations: 139.3 kB / 1.026 GB, free: 2.238 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.02343, allocations: 3.938 kB / 1.026 GB, free: 2.234 MB / 0.9792 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000223/0.02366, allocations: 221.2 kB / 1.026 GB, free: 2.012 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.02367, allocations: 11.98 kB / 1.026 GB, free: 2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.02368, allocations: 3.984 kB / 1.026 GB, free: 1.996 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.02369, allocations: 4 kB / 1.026 GB, free: 1.992 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.0238, allocations: 39.92 kB / 1.026 GB, free: 1.953 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.02381, allocations: 4 kB / 1.026 GB, free: 1.949 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.02394, allocations: 35.77 kB / 1.026 GB, free: 1.914 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.02396, allocations: 15.98 kB / 1.026 GB, free: 1.898 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 9.817e-05/0.02406, allocations: 145.8 kB / 1.026 GB, free: 1.746 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.02409, allocations: 39.7 kB / 1.026 GB, free: 1.707 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.02431, allocations: 199.6 kB / 1.027 GB, free: 1.508 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.02431, allocations: 8 kB / 1.027 GB, free: 1.5 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.02432, allocations: 4.062 kB / 1.027 GB, free: 1.496 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.02432, allocations: 0 / 1.027 GB, free: 1.496 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/0.0248, allocations: 0.567 MB / 1.027 GB, free: 0.8672 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.02481, allocations: 4 kB / 1.027 GB, free: 0.8633 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.461e-05/0.02486, allocations: 23.92 kB / 1.027 GB, free: 0.8398 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.02486, allocations: 4 kB / 1.027 GB, free: 0.8359 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.02487, allocations: 0 / 1.027 GB, free: 0.8359 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.02487, allocations: 4 kB / 1.027 GB, free: 0.832 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.02487, allocations: 0 / 1.027 GB, free: 0.832 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.02506, allocations: 306.5 kB / 1.028 GB, free: 0.5039 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.02512, allocations: 47.73 kB / 1.028 GB, free: 468 kB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.02515, allocations: 4 kB / 1.028 GB, free: 464 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.02525, allocations: 16.11 kB / 1.028 GB, free: 448 kB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.028e-05/0.02527, allocations: 15.92 kB / 1.028 GB, free: 432 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.02528, allocations: 4 kB / 1.028 GB, free: 428 kB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002124/0.02549, allocations: 307.1 kB / 1.028 GB, free: 124 kB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.02549, allocations: 288 / 1.028 GB, free: 124 kB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002723/0.02577, allocations: 103.8 kB / 1.028 GB, free: 20 kB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000526/0.02629, allocations: 0.9514 MB / 1.029 GB, free: 15.04 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001819/0.02647, allocations: 123.8 kB / 1.029 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.02648, allocations: 4 kB / 1.029 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 5.978e-05/0.02654, allocations: 59.84 kB / 1.029 GB, free: 14.85 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/0.02705, allocations: 175 kB / 1.029 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/0.02969, allocations: 3.199 MB / 1.032 GB, free: 11.36 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.02982, allocations: 203.3 kB / 1.033 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001546/0.02997, allocations: 66 kB / 1.033 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.03009, allocations: 120.5 kB / 1.033 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of SimCode: time 7.31e-07/0.03009, allocations: 0 / 1.033 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4061/0.4362, allocations: 12.28 MB / 1.045 GB, free: 82.92 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.931/7.367, allocations: 4.875 kB / 1.045 GB, free: 82.92 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.fmu > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ValveOpeningFlowBalancing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ValveOpeningFlowBalancing.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: 11.283616560511291]