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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001432/0.001432, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001594/0.001594, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.284/1.284, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 59.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6252/0.6266, allocations: 140.4 MB / 0.949 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.0104/0.637, allocations: 10.12 MB / 0.9589 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002732/0.6398, allocations: 2.219 MB / 0.9611 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/0.64, allocations: 8.062 kB / 0.9611 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.6404, allocations: 82.5 kB / 0.9612 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005786/0.641, allocations: 236.4 kB / 0.9614 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006449/0.6417, allocations: 205.2 kB / 0.9616 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000631/0.6423, allocations: 0.5962 MB / 0.9622 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002568/0.6426, allocations: 120.3 kB / 0.9623 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004662/0.643, allocations: 193 kB / 0.9625 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.6432, allocations: 124.9 kB / 0.9626 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.6433, allocations: 7.062 kB / 0.9626 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004076/0.6437, allocations: 145.7 kB / 0.9627 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.481e-05/0.6438, allocations: 34.2 kB / 0.9628 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.6439, allocations: 77.77 kB / 0.9628 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004898/0.6444, allocations: 233.4 kB / 0.9631 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.6444, allocations: 1.344 kB / 0.9631 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6444, allocations: 0 / 0.9631 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.6445, allocations: 0 / 0.9631 GB, free: 14.03 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.0007926/0.6453, allocations: 472.4 kB / 0.9635 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.6453, allocations: 14 kB / 0.9635 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.396e-05/0.6454, allocations: 50.02 kB / 0.9636 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.007e-05/0.6455, allocations: 20.84 kB / 0.9636 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.6458, allocations: 237.7 kB / 0.9638 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.6458, allocations: 4.75 kB / 0.9638 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.6459, allocations: 16.39 kB / 0.9639 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.6463, allocations: 147.2 kB / 0.964 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.6464, allocations: 0 / 0.964 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.6464, allocations: 5.469 kB / 0.964 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.6464, allocations: 2.625 kB / 0.964 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003722/0.6468, allocations: 88.08 kB / 0.9641 GB, free: 13.1 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.0009507/0.6477, allocations: 0.5412 MB / 0.9646 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.648, allocations: 98.67 kB / 0.9647 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.6481, allocations: 56.52 kB / 0.9648 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/0.6484, allocations: 338.3 kB / 0.9651 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.6484, allocations: 36 kB / 0.9651 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.6485, allocations: 1.062 kB / 0.9651 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0005156/0.649, allocations: 161.6 kB / 0.9653 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.649, allocations: 78.55 kB / 0.9653 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.6492, allocations: 183.4 kB / 0.9655 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.6492, allocations: 26.89 kB / 0.9655 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.6493, allocations: 128 kB / 0.9657 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.6494, allocations: 26.19 kB / 0.9657 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.6494, allocations: 30.58 kB / 0.9657 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.6495, allocations: 326.8 kB / 0.966 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.6497, allocations: 34 kB / 0.9661 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.6498, allocations: 73.97 kB / 0.9661 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.6501, allocations: 100.5 kB / 0.9662 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6501, allocations: 0 / 0.9662 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003038/0.6504, allocations: 121.8 kB / 0.9664 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.6504, allocations: 10.23 kB / 0.9664 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.6504, allocations: 0 / 0.9664 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.6505, allocations: 1.562 kB / 0.9664 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.6507, allocations: 38.97 kB / 0.9664 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.6507, allocations: 9.016 kB / 0.9664 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.6509, allocations: 17.02 kB / 0.9664 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.6509, allocations: 7.656 kB / 0.9664 GB, free: 10.93 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.0001026/0.651, allocations: 122.5 kB / 0.9665 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-05/0.6511, allocations: 26.17 kB / 0.9666 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/0.6513, allocations: 134.7 kB / 0.9667 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.6513, allocations: 2.406 kB / 0.9667 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6514, allocations: 0 / 0.9667 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.6514, allocations: 1.125 kB / 0.9667 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005919/0.652, allocations: 473.2 kB / 0.9672 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.652, allocations: 5.438 kB / 0.9672 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.6522, allocations: 35.89 kB / 0.9672 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.6522, allocations: 1.531 kB / 0.9672 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.6522, allocations: 6 kB / 0.9672 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.6522, allocations: 2.156 kB / 0.9672 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6522, allocations: 1.156 kB / 0.9672 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.6527, allocations: 349.5 kB / 0.9675 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.121e-05/0.6527, allocations: 104.2 kB / 0.9676 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.6528, allocations: 6.156 kB / 0.9676 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.6531, allocations: 13.33 kB / 0.9677 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.753e-05/0.6531, allocations: 16.53 kB / 0.9677 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.6532, allocations: 4.344 kB / 0.9677 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001658/0.6533, allocations: 140.8 kB / 0.9678 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6533, allocations: 4.031 kB / 0.9678 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005428/0.6539, allocations: 51.66 kB / 0.9679 GB, free: 9.68 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.001308/0.6552, allocations: 0.946 MB / 0.9688 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000436/0.6557, allocations: 97.28 kB / 0.9689 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6557, allocations: 1.125 kB / 0.9689 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.6559, allocations: 62.36 kB / 0.9689 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009567/0.6569, allocations: 74.28 kB / 0.969 GB, free: 8.719 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.6595, allocations: 2.022 MB / 0.971 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.6598, allocations: 0.7274 MB / 0.9717 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001299/0.66, allocations: 38.72 kB / 0.9717 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.804e-05/0.6601, allocations: 47.55 kB / 0.9718 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.6601, allocations: 0 / 0.9718 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03767/0.6977, allocations: 4.954 MB / 0.9766 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.698, allocations: 260.1 kB / 0.9769 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.132/2.83, allocations: 0 / 0.9769 GB, free: 3.477 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