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.001619/0.001618, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 189.2 kB / 16.25 MB, free: 6.637 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.321/1.321, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.093/2.093, allocations: 390.3 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.001211, allocations: 63.91 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4607/0.462, allocations: 140.4 MB / 0.9492 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.007482/0.4695, allocations: 10.12 MB / 0.9591 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002031/0.4715, allocations: 2.197 MB / 0.9612 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.4716, allocations: 10.97 kB / 0.9613 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.4719, allocations: 81.94 kB / 0.9613 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004678/0.4724, allocations: 228.4 kB / 0.9616 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.4729, allocations: 215.8 kB / 0.9618 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004256/0.4734, allocations: 433.2 kB / 0.9622 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.4736, allocations: 130.4 kB / 0.9623 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/0.4739, allocations: 221.3 kB / 0.9625 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.4741, allocations: 129.1 kB / 0.9626 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.4741, allocations: 14.31 kB / 0.9626 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002643/0.4744, allocations: 153.2 kB / 0.9628 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.4745, allocations: 42.98 kB / 0.9628 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.131e-05/0.4745, allocations: 76.97 kB / 0.9629 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.4749, allocations: 241.1 kB / 0.9631 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4749, allocations: 0 / 0.9631 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.81e-07/0.4749, allocations: 3.938 kB / 0.9631 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.4749, allocations: 0 / 0.9631 GB, free: 14.05 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.0005468/0.4754, allocations: 472.8 kB / 0.9636 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.4755, allocations: 10.12 kB / 0.9636 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.4755, allocations: 41.19 kB / 0.9636 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.4756, allocations: 25.89 kB / 0.9637 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.4758, allocations: 241.7 kB / 0.9639 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.4758, allocations: 9.062 kB / 0.9639 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.4759, allocations: 11.56 kB / 0.9639 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.4762, allocations: 147.3 kB / 0.9641 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.4762, allocations: 0 / 0.9641 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.4762, allocations: 5.812 kB / 0.9641 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4762, allocations: 2.188 kB / 0.9641 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002453/0.4764, allocations: 96.22 kB / 0.9642 GB, free: 13.12 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.0006671/0.4771, allocations: 0.5294 MB / 0.9647 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.4773, allocations: 90.7 kB / 0.9648 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.4774, allocations: 65.05 kB / 0.9648 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002435/0.4777, allocations: 334.8 kB / 0.9651 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.4777, allocations: 39.62 kB / 0.9652 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.4777, allocations: 0 / 0.9652 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004389/0.4782, allocations: 158.7 kB / 0.9653 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.4782, allocations: 82.42 kB / 0.9654 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.4784, allocations: 182.3 kB / 0.9656 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.4784, allocations: 26.95 kB / 0.9656 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.4785, allocations: 120.3 kB / 0.9657 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.4785, allocations: 30.64 kB / 0.9658 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.4786, allocations: 22.69 kB / 0.9658 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.4787, allocations: 334.8 kB / 0.9661 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.4788, allocations: 29.41 kB / 0.9661 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.4789, allocations: 66.44 kB / 0.9662 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.4791, allocations: 101.3 kB / 0.9663 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4791, allocations: 1.281 kB / 0.9663 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002709/0.4794, allocations: 127.5 kB / 0.9664 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.4794, allocations: 7.594 kB / 0.9664 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4794, allocations: 4.812 kB / 0.9664 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.4795, allocations: 4.922 kB / 0.9664 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.4796, allocations: 35.56 kB / 0.9665 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.4797, allocations: 1.094 kB / 0.9665 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.4798, allocations: 24.27 kB / 0.9665 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.4798, allocations: 7.578 kB / 0.9665 GB, free: 10.98 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 8.798e-05/0.4799, allocations: 122.6 kB / 0.9666 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.48, allocations: 27.12 kB / 0.9666 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.4802, allocations: 134.8 kB / 0.9668 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.4802, allocations: 6.141 kB / 0.9668 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4802, allocations: 0 / 0.9668 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4802, allocations: 1.125 kB / 0.9668 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005158/0.4807, allocations: 475.3 kB / 0.9672 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4808, allocations: 0 / 0.9672 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.4809, allocations: 43.19 kB / 0.9673 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.4809, allocations: 3.531 kB / 0.9673 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.481, allocations: 3.984 kB / 0.9673 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.481, allocations: 3.438 kB / 0.9673 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.481, allocations: 0 / 0.9673 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.4813, allocations: 350 kB / 0.9676 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.029e-05/0.4814, allocations: 104 kB / 0.9677 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.4814, allocations: 2.219 kB / 0.9677 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.4816, allocations: 12.95 kB / 0.9677 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.4816, allocations: 12.84 kB / 0.9677 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.4817, allocations: 4.25 kB / 0.9677 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.544e-05/0.4818, allocations: 135.8 kB / 0.9679 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.763e-06/0.4818, allocations: 0 / 0.9679 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003304/0.4821, allocations: 60.11 kB / 0.9679 GB, free: 9.723 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.0008444/0.4829, allocations: 0.9581 MB / 0.9689 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000287/0.4832, allocations: 100.6 kB / 0.969 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4833, allocations: 0 / 0.969 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.4834, allocations: 67.05 kB / 0.969 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005874/0.484, allocations: 65.31 kB / 0.9691 GB, free: 8.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.4861, allocations: 2.024 MB / 0.9711 GB, free: 7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.4864, allocations: 0.7271 MB / 0.9718 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.914e-05/0.4865, allocations: 34.5 kB / 0.9718 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.458e-05/0.4865, allocations: 52.23 kB / 0.9718 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.4865, allocations: 0 / 0.9718 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4861/0.9726, allocations: 5.077 MB / 0.9768 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002606/0.9729, allocations: 255.9 kB / 0.977 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.964/3.937, allocations: 0 / 0.977 GB, free: 3.465 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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