Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_latest_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.001071/0.001071, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008189/0.008189, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.323/1.323, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.628/2.628, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003251, allocations: 12.41 kB / 0.9029 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2422, allocations: 159.6 MB / 1.059 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.0131/0.2554, allocations: 14.23 MB / 1.073 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003961/0.2593, allocations: 3.675 MB / 1.076 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003049/0.2597, allocations: 7.938 kB / 1.076 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003914/0.2601, allocations: 139.1 kB / 1.076 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000806/0.2609, allocations: 362.3 kB / 1.077 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007102/0.2616, allocations: 301.3 kB / 1.077 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009868/0.2626, allocations: 1.1 MB / 1.078 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003692/0.263, allocations: 247.5 kB / 1.078 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005716/0.2636, allocations: 334.5 kB / 1.079 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.2638, allocations: 222.9 kB / 1.079 GB, free: 288 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.2639, allocations: 12 kB / 1.079 GB, free: 276 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003845/0.2643, allocations: 199.6 kB / 1.079 GB, free: 76 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.619e-05/0.2644, allocations: 63.69 kB / 1.079 GB, free: 12 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.2645, allocations: 153 kB / 1.079 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004673/0.265, allocations: 406.7 kB / 1.08 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.265, allocations: 0 / 1.08 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.253e-06/0.265, allocations: 3.938 kB / 1.08 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.265, allocations: 4 kB / 1.08 GB, free: 15.45 MB / 0.8419 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.0007042/0.2657, allocations: 0.5573 MB / 1.08 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.2658, allocations: 11.97 kB / 1.08 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.695e-05/0.2658, allocations: 54.73 kB / 1.08 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.2659, allocations: 36.56 kB / 1.08 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.2662, allocations: 303.1 kB / 1.081 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.2663, allocations: 20.81 kB / 1.081 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.2663, allocations: 28.31 kB / 1.081 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005057/0.2668, allocations: 265.3 kB / 1.081 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2668, allocations: 7.938 kB / 1.081 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.2669, allocations: 8 kB / 1.081 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2669, allocations: 8 kB / 1.081 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00048/0.2674, allocations: 200.6 kB / 1.081 GB, free: 13.86 MB / 0.8419 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.001088/0.2685, allocations: 0.8393 MB / 1.082 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.2688, allocations: 157.1 kB / 1.082 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.269, allocations: 109.6 kB / 1.082 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003099/0.2693, allocations: 494.6 kB / 1.083 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.2694, allocations: 38.56 kB / 1.083 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.2694, allocations: 0 / 1.083 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0007496/0.2701, allocations: 301.1 kB / 1.083 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.2702, allocations: 77.11 kB / 1.083 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.2704, allocations: 271 kB / 1.083 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.2704, allocations: 25.7 kB / 1.083 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.737e-05/0.2705, allocations: 168.3 kB / 1.084 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.2706, allocations: 43.59 kB / 1.084 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.2706, allocations: 17.72 kB / 1.084 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.797e-05/0.2707, allocations: 338.8 kB / 1.084 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.2709, allocations: 67.94 kB / 1.084 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.2712, allocations: 137.9 kB / 1.084 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.2716, allocations: 192.1 kB / 1.084 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2716, allocations: 0 / 1.084 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004924/0.2721, allocations: 237.2 kB / 1.084 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.2721, allocations: 4 kB / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2721, allocations: 0 / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2721, allocations: 7.938 kB / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.2724, allocations: 71.97 kB / 1.085 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2724, allocations: 0 / 1.085 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.2726, allocations: 43.81 kB / 1.085 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.2727, allocations: 8 kB / 1.085 GB, free: 9.965 MB / 0.8419 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.0001224/0.2728, allocations: 149.7 kB / 1.085 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/0.2729, allocations: 23.72 kB / 1.085 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.2732, allocations: 187.1 kB / 1.085 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.2732, allocations: 0 / 1.085 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.2732, allocations: 4 kB / 1.085 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2732, allocations: 4 kB / 1.085 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000672/0.2739, allocations: 0.6068 MB / 1.086 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2739, allocations: 0 / 1.086 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/0.2741, allocations: 60.08 kB / 1.086 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2741, allocations: 4.438 kB / 1.086 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.2742, allocations: 8 kB / 1.086 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2742, allocations: 3.984 kB / 1.086 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.2742, allocations: 11.94 kB / 1.086 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005879/0.2748, allocations: 455.1 kB / 1.086 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.2749, allocations: 120.8 kB / 1.086 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.2749, allocations: 4 kB / 1.086 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.2752, allocations: 35.81 kB / 1.086 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.2752, allocations: 23.86 kB / 1.086 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.2753, allocations: 8 kB / 1.086 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001743/0.2754, allocations: 193.9 kB / 1.086 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2755, allocations: 0 / 1.086 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004242/0.2759, allocations: 95.84 kB / 1.087 GB, free: 7.863 MB / 0.8419 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.001145/0.277, allocations: 1.079 MB / 1.088 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005254/0.2776, allocations: 195.7 kB / 1.088 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.2776, allocations: 8.125 kB / 1.088 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002615/0.2779, allocations: 111.9 kB / 1.088 GB, free: 6.441 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008506/0.2787, allocations: 113 kB / 1.088 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.282, allocations: 2.784 MB / 1.091 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.2822, allocations: 0.7755 MB / 1.091 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001651/0.2824, allocations: 62.2 kB / 1.092 GB, free: 2.547 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.2825, allocations: 87.41 kB / 1.092 GB, free: 2.461 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.2825, allocations: 0 / 1.092 GB, free: 2.461 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6035/0.886, allocations: 7.528 MB / 1.099 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/0.8863, allocations: 272 kB / 1.099 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/3.125, allocations: 4.062 kB / 1.099 GB, free: 10.82 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches