Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_11_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.001572/0.001572, 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.001423/0.001423, allocations: 193.2 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.455/2.455, allocations: 469.8 MB / 0.7424 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 60.38 kB / 0.9087 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2461, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01501/0.2612, allocations: 14.79 MB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004139/0.2653, allocations: 3.728 MB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.2655, allocations: 11.94 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003833/0.2659, allocations: 174.7 kB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0006858/0.2666, allocations: 390 kB / 1.083 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006789/0.2673, allocations: 331.6 kB / 1.083 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007064/0.268, allocations: 0.7687 MB / 1.084 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003732/0.2684, allocations: 296.2 kB / 1.084 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005086/0.2689, allocations: 386.4 kB / 1.084 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.2691, allocations: 219 kB / 1.085 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.039e-05/0.2692, allocations: 20 kB / 1.085 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003819/0.2696, allocations: 231.5 kB / 1.085 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.433e-05/0.2697, allocations: 75.73 kB / 1.085 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.2698, allocations: 139.3 kB / 1.085 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004922/0.2703, allocations: 422.7 kB / 1.085 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2703, allocations: 4 kB / 1.085 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2703, allocations: 0 / 1.085 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2703, allocations: 0 / 1.085 GB, free: 8.234 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.000766/0.2711, allocations: 0.6001 MB / 1.086 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.2711, allocations: 8.031 kB / 1.086 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.071e-05/0.2712, allocations: 62.66 kB / 1.086 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.146e-05/0.2713, allocations: 36.47 kB / 1.086 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.2716, allocations: 311.1 kB / 1.086 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.2717, allocations: 16.81 kB / 1.086 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.2717, allocations: 20.38 kB / 1.087 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.2722, allocations: 261.3 kB / 1.087 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2722, allocations: 3.938 kB / 1.087 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.2722, allocations: 8 kB / 1.087 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.2722, allocations: 7.984 kB / 1.087 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/0.2727, allocations: 180.6 kB / 1.087 GB, free: 6.633 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.001092/0.2738, allocations: 0.8431 MB / 1.088 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.2741, allocations: 137.1 kB / 1.088 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.2743, allocations: 93.64 kB / 1.088 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003738/0.2747, allocations: 0.491 MB / 1.088 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.2747, allocations: 42.5 kB / 1.089 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.2747, allocations: 0 / 1.089 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0007088/0.2755, allocations: 245.2 kB / 1.089 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.2755, allocations: 93.03 kB / 1.089 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.2758, allocations: 263 kB / 1.089 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.2758, allocations: 29.7 kB / 1.089 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.2759, allocations: 172.2 kB / 1.089 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.2759, allocations: 39.39 kB / 1.089 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.276, allocations: 33.7 kB / 1.089 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.2761, allocations: 338.8 kB / 1.09 GB, free: 3.574 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.2763, allocations: 63.94 kB / 1.09 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.2766, allocations: 119 kB / 1.09 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.277, allocations: 172.1 kB / 1.09 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.277, allocations: 0 / 1.09 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004723/0.2775, allocations: 213.2 kB / 1.09 GB, free: 2.977 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.2775, allocations: 9.25 kB / 1.09 GB, free: 2.969 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.2775, allocations: 7.922 kB / 1.09 GB, free: 2.961 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.2775, allocations: 4 kB / 1.09 GB, free: 2.957 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.2778, allocations: 51.94 kB / 1.09 GB, free: 2.906 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2778, allocations: 7.938 kB / 1.09 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.278, allocations: 36.12 kB / 1.09 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.278, allocations: 8 kB / 1.09 GB, free: 2.855 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.0001222/0.2781, allocations: 149.7 kB / 1.09 GB, free: 2.699 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-05/0.2782, allocations: 23.72 kB / 1.09 GB, free: 2.676 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.2785, allocations: 180.3 kB / 1.091 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.2785, allocations: 8 kB / 1.091 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2785, allocations: 0 / 1.091 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2785, allocations: 0 / 1.091 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006972/0.2792, allocations: 0.5955 MB / 1.091 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.2792, allocations: 4.062 kB / 1.091 GB, free: 1.816 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.2795, allocations: 56.02 kB / 1.091 GB, free: 1.762 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.2795, allocations: 4 kB / 1.091 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.2795, allocations: 11.98 kB / 1.091 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2795, allocations: 0 / 1.091 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.2795, allocations: 0 / 1.091 GB, free: 1.746 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005746/0.2801, allocations: 437.6 kB / 1.092 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.2802, allocations: 124.6 kB / 1.092 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.2802, allocations: 8 kB / 1.092 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.2804, allocations: 19.97 kB / 1.092 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.2805, allocations: 19.92 kB / 1.092 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.2805, allocations: 12 kB / 1.092 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000167/0.2807, allocations: 190 kB / 1.092 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2807, allocations: 3.938 kB / 1.092 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003724/0.2811, allocations: 91.84 kB / 1.092 GB, free: 0.8125 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.001113/0.2822, allocations: 1.081 MB / 1.093 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004724/0.2827, allocations: 187.7 kB / 1.093 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2827, allocations: 0 / 1.093 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.2829, allocations: 103.8 kB / 1.094 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007407/0.2837, allocations: 124.5 kB / 1.094 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.2867, allocations: 2.62 MB / 1.096 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.2871, allocations: 0.7753 MB / 1.097 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001406/0.2872, allocations: 58.31 kB / 1.097 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.2873, allocations: 91.34 kB / 1.097 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2873, allocations: 0 / 1.097 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.116/3.404, allocations: 8.033 MB / 1.105 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/16.73, allocations: 8 kB / 1.105 GB, free: 3.723 MB / 0.8575 GB (rm -f Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches