Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_10_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.001062/0.001062, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.008945/0.008945, allocations: 172 kB / 16.26 MB, free: 6.613 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.362/1.362, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.518/2.518, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003445, allocations: 12 kB / 0.8729 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5532/0.5536, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01457/0.5682, allocations: 14.23 MB / 1.037 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004461/0.5727, allocations: 3.685 MB / 1.041 GB, free: 13.89 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004286/0.5732, allocations: 15.88 kB / 1.041 GB, free: 13.88 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004953/0.5737, allocations: 131.1 kB / 1.041 GB, free: 13.75 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0009313/0.5746, allocations: 370.3 kB / 1.041 GB, free: 13.39 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008019/0.5754, allocations: 299.2 kB / 1.041 GB, free: 13.1 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001031/0.5765, allocations: 1.085 MB / 1.042 GB, free: 12.01 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003762/0.5768, allocations: 249.5 kB / 1.043 GB, free: 11.77 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006037/0.5775, allocations: 334.5 kB / 1.043 GB, free: 11.44 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.5778, allocations: 226.9 kB / 1.043 GB, free: 11.21 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.5778, allocations: 8 kB / 1.043 GB, free: 11.21 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004122/0.5782, allocations: 211.5 kB / 1.043 GB, free: 11 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.641e-05/0.5783, allocations: 59.77 kB / 1.043 GB, free: 10.94 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.5784, allocations: 153 kB / 1.044 GB, free: 10.79 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004985/0.5789, allocations: 414.7 kB / 1.044 GB, free: 10.38 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.579, allocations: 0 / 1.044 GB, free: 10.38 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.333e-06/0.579, allocations: 0 / 1.044 GB, free: 10.38 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.579, allocations: 0 / 1.044 GB, free: 10.38 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007983/0.5798, allocations: 0.5496 MB / 1.045 GB, free: 9.781 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.5798, allocations: 15.97 kB / 1.045 GB, free: 9.766 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.938e-05/0.5799, allocations: 58.72 kB / 1.045 GB, free: 9.699 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.218e-05/0.58, allocations: 32.56 kB / 1.045 GB, free: 9.668 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.5803, allocations: 315 kB / 1.045 GB, free: 9.324 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.5804, allocations: 12.81 kB / 1.045 GB, free: 9.309 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.5804, allocations: 24.38 kB / 1.045 GB, free: 9.285 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005297/0.581, allocations: 273.3 kB / 1.045 GB, free: 9.008 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.581, allocations: 3.938 kB / 1.045 GB, free: 9.004 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.581, allocations: 8 kB / 1.045 GB, free: 8.996 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.581, allocations: 4 kB / 1.045 GB, free: 8.992 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000495/0.5815, allocations: 204.5 kB / 1.045 GB, free: 8.793 MB / 0.795 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.001135/0.5827, allocations: 0.8355 MB / 1.046 GB, free: 7.891 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.583, allocations: 153.1 kB / 1.046 GB, free: 7.723 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.5832, allocations: 97.66 kB / 1.047 GB, free: 7.621 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000353/0.5836, allocations: 0.4986 MB / 1.047 GB, free: 7.012 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.5836, allocations: 34.55 kB / 1.047 GB, free: 6.969 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 3.256e-06/0.5836, allocations: 0 / 1.047 GB, free: 6.969 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0008027/0.5844, allocations: 289.3 kB / 1.047 GB, free: 6.68 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.5845, allocations: 93.05 kB / 1.047 GB, free: 6.57 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.5848, allocations: 263 kB / 1.048 GB, free: 6.309 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.5848, allocations: 33.7 kB / 1.048 GB, free: 6.27 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.5849, allocations: 164.2 kB / 1.048 GB, free: 6.105 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.585, allocations: 43.39 kB / 1.048 GB, free: 6.062 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.585, allocations: 17.72 kB / 1.048 GB, free: 6.039 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.5851, allocations: 334.8 kB / 1.048 GB, free: 5.703 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.5853, allocations: 75.94 kB / 1.048 GB, free: 5.629 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.5856, allocations: 129.9 kB / 1.048 GB, free: 5.48 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/0.5861, allocations: 192.4 kB / 1.049 GB, free: 5.277 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5861, allocations: 0 / 1.049 GB, free: 5.277 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005229/0.5866, allocations: 237.1 kB / 1.049 GB, free: 5.039 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.5866, allocations: 8 kB / 1.049 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5866, allocations: 0 / 1.049 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.5867, allocations: 0 / 1.049 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.5869, allocations: 75.97 kB / 1.049 GB, free: 4.957 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.587, allocations: 8.25 kB / 1.049 GB, free: 4.949 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.5872, allocations: 35.81 kB / 1.049 GB, free: 4.914 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.5872, allocations: 8 kB / 1.049 GB, free: 4.906 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.0001356/0.5874, allocations: 145.8 kB / 1.049 GB, free: 4.754 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-05/0.5874, allocations: 23.72 kB / 1.049 GB, free: 4.73 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/0.5877, allocations: 190.7 kB / 1.049 GB, free: 4.539 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.5877, allocations: 7.984 kB / 1.049 GB, free: 4.531 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.5878, allocations: 0 / 1.049 GB, free: 4.531 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5878, allocations: 0 / 1.049 GB, free: 4.531 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007498/0.5885, allocations: 0.603 MB / 1.05 GB, free: 3.859 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5885, allocations: 0 / 1.05 GB, free: 3.859 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.5888, allocations: 72 kB / 1.05 GB, free: 3.789 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5888, allocations: 0 / 1.05 GB, free: 3.789 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.5888, allocations: 8 kB / 1.05 GB, free: 3.781 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.5888, allocations: 4 kB / 1.05 GB, free: 3.777 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5888, allocations: 0 / 1.05 GB, free: 3.777 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000625/0.5895, allocations: 471.7 kB / 1.05 GB, free: 3.289 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.5896, allocations: 120.7 kB / 1.051 GB, free: 3.152 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/0.5896, allocations: 8 kB / 1.051 GB, free: 3.145 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.5899, allocations: 23.89 kB / 1.051 GB, free: 3.121 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.5899, allocations: 23.91 kB / 1.051 GB, free: 3.098 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.59, allocations: 8 kB / 1.051 GB, free: 3.09 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001729/0.5901, allocations: 194 kB / 1.051 GB, free: 2.898 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5902, allocations: 0 / 1.051 GB, free: 2.898 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004224/0.5906, allocations: 83.92 kB / 1.051 GB, free: 2.816 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001153/0.5917, allocations: 1.1 MB / 1.052 GB, free: 1.684 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000533/0.5923, allocations: 195.8 kB / 1.052 GB, free: 1.492 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5923, allocations: 0 / 1.052 GB, free: 1.492 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.5926, allocations: 120.2 kB / 1.052 GB, free: 1.375 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00088/0.5935, allocations: 116.6 kB / 1.052 GB, free: 1.262 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/0.5969, allocations: 2.79 MB / 1.055 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.5973, allocations: 0.7716 MB / 1.056 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001652/0.5974, allocations: 62.27 kB / 1.056 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.5975, allocations: 87.34 kB / 1.056 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of SimCode: time 4.2e-07/0.5976, allocations: 0 / 1.056 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.6172, allocations: 7.522 MB / 1.063 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.6174, allocations: 255.7 kB / 1.064 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/2.605, allocations: 0 / 1.064 GB, free: 5.836 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches