Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 193.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.457/2.457, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.89 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6801/0.6821, allocations: 140.4 MB / 0.9497 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01655/0.6987, allocations: 10.13 MB / 0.9596 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004608/0.7033, allocations: 2.22 MB / 0.9618 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003213/0.7036, allocations: 8.062 kB / 0.9618 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005078/0.7042, allocations: 98.3 kB / 0.9619 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.7052, allocations: 256.4 kB / 0.9621 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.7064, allocations: 230.9 kB / 0.9623 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008457/0.7072, allocations: 437.4 kB / 0.9627 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004167/0.7077, allocations: 136 kB / 0.9629 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006837/0.7084, allocations: 209.7 kB / 0.9631 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002841/0.7087, allocations: 113.7 kB / 0.9632 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.7087, allocations: 9.656 kB / 0.9632 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000547/0.7093, allocations: 166.5 kB / 0.9634 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.019e-05/0.7094, allocations: 29.28 kB / 0.9634 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.7096, allocations: 77.7 kB / 0.9635 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005975/0.7102, allocations: 247.3 kB / 0.9637 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.7102, allocations: 0 / 0.9637 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7102, allocations: 1 kB / 0.9637 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.7102, allocations: 0 / 0.9637 GB, free: 13.89 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009124/0.7111, allocations: 464.6 kB / 0.9641 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.7112, allocations: 17.52 kB / 0.9642 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.403e-05/0.7113, allocations: 46.31 kB / 0.9642 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.224e-05/0.7114, allocations: 22 kB / 0.9642 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004328/0.7118, allocations: 244.3 kB / 0.9645 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.7119, allocations: 5.781 kB / 0.9645 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.7119, allocations: 12.12 kB / 0.9645 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005014/0.7124, allocations: 144.5 kB / 0.9646 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.7125, allocations: 0 / 0.9646 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.7125, allocations: 9.438 kB / 0.9646 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.7125, allocations: 6.312 kB / 0.9646 GB, free: 13 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.713, allocations: 84.53 kB / 0.9647 GB, free: 12.96 MB / 0.7325 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.001253/0.7143, allocations: 0.5424 MB / 0.9652 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.7146, allocations: 86.27 kB / 0.9653 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002454/0.7149, allocations: 63.56 kB / 0.9654 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004322/0.7153, allocations: 347.7 kB / 0.9657 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.7154, allocations: 35.62 kB / 0.9657 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.7154, allocations: 0 / 0.9657 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0008643/0.7163, allocations: 158 kB / 0.9659 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.7164, allocations: 78.2 kB / 0.966 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.7167, allocations: 191.4 kB / 0.9661 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.7167, allocations: 26.83 kB / 0.9662 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.7168, allocations: 120.1 kB / 0.9663 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.7169, allocations: 31.3 kB / 0.9663 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.13e-05/0.717, allocations: 21.78 kB / 0.9663 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.7172, allocations: 326.9 kB / 0.9667 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.7174, allocations: 34.31 kB / 0.9667 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.7177, allocations: 70.8 kB / 0.9668 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.7181, allocations: 96.42 kB / 0.9668 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7182, allocations: 1.125 kB / 0.9668 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005413/0.7187, allocations: 132.8 kB / 0.967 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.7187, allocations: 7.062 kB / 0.967 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.7188, allocations: 0 / 0.967 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.7188, allocations: 0 / 0.967 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.7192, allocations: 39.67 kB / 0.967 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.7192, allocations: 3.938 kB / 0.967 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.7194, allocations: 19.2 kB / 0.967 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.7195, allocations: 8.5 kB / 0.967 GB, free: 10.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * 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.0001615/0.7197, allocations: 127.2 kB / 0.9672 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.7198, allocations: 18.53 kB / 0.9672 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003857/0.7202, allocations: 134.4 kB / 0.9673 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.7202, allocations: 5.094 kB / 0.9673 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.7202, allocations: 1.031 kB / 0.9673 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.7202, allocations: 1.25 kB / 0.9673 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009886/0.7212, allocations: 473.3 kB / 0.9678 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.7213, allocations: 0.75 kB / 0.9678 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000335/0.7216, allocations: 39.45 kB / 0.9678 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.7216, allocations: 2.594 kB / 0.9678 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.7217, allocations: 2.344 kB / 0.9678 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.7217, allocations: 5.047 kB / 0.9678 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.7217, allocations: 6.5 kB / 0.9678 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006929/0.7224, allocations: 344.4 kB / 0.9682 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.7225, allocations: 104.9 kB / 0.9683 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.7226, allocations: 5.953 kB / 0.9683 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.7229, allocations: 8.375 kB / 0.9683 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.723, allocations: 12.55 kB / 0.9683 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.723, allocations: 8.594 kB / 0.9683 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001985/0.7232, allocations: 144.4 kB / 0.9684 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.056e-06/0.7232, allocations: 0 / 0.9684 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007137/0.724, allocations: 51.88 kB / 0.9685 GB, free: 9.555 MB / 0.7325 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 (9): * Single equations (assignments): 7 * 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.001556/0.7255, allocations: 0.9513 MB / 0.9694 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005696/0.7261, allocations: 108.2 kB / 0.9695 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7261, allocations: 0 / 0.9695 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002966/0.7265, allocations: 66.67 kB / 0.9696 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.7277, allocations: 70.55 kB / 0.9696 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.7312, allocations: 1.971 MB / 0.9716 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.7316, allocations: 0.7308 MB / 0.9723 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.7318, allocations: 29.95 kB / 0.9723 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.824e-05/0.7319, allocations: 47.77 kB / 0.9723 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.7319, allocations: 1.156 kB / 0.9724 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02897/0.7609, allocations: 5.225 MB / 0.9775 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.358/8.119, allocations: 4.656 kB / 0.9775 GB, free: 3.449 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches