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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001264/0.001264, allocations: 108 kB / 15.6 MB, free: 132 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.001231/0.00123, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.81/2.81, allocations: 469.4 MB / 0.742 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 67.73 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2971, allocations: 159.1 MB / 1.064 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01789/0.3151, allocations: 14.78 MB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004997/0.3201, allocations: 3.72 MB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004496/0.3206, allocations: 15.88 kB / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005613/0.3212, allocations: 166.8 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.3223, allocations: 398 kB / 1.082 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009512/0.3233, allocations: 328.6 kB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0009294/0.3242, allocations: 0.7687 MB / 1.083 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005099/0.3247, allocations: 300.2 kB / 1.084 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008064/0.3255, allocations: 386.4 kB / 1.084 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003675/0.3259, allocations: 223 kB / 1.084 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.677e-05/0.326, allocations: 20 kB / 1.084 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005345/0.3265, allocations: 227.5 kB / 1.084 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.3267, allocations: 75.69 kB / 1.085 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.3269, allocations: 143.3 kB / 1.085 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006491/0.3275, allocations: 414.8 kB / 1.085 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3275, allocations: 0 / 1.085 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3275, allocations: 0 / 1.085 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.584e-05/0.3276, allocations: 8 kB / 1.085 GB, free: 8.477 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.0008716/0.3284, allocations: 0.6015 MB / 1.086 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3285, allocations: 12.03 kB / 1.086 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.005e-05/0.3286, allocations: 62.72 kB / 1.086 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.578e-05/0.3286, allocations: 36.47 kB / 1.086 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.329, allocations: 299.1 kB / 1.086 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.329, allocations: 16.81 kB / 1.086 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.3291, allocations: 28.38 kB / 1.086 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.3296, allocations: 261.3 kB / 1.086 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3296, allocations: 0 / 1.086 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.3297, allocations: 8 kB / 1.086 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.3297, allocations: 8 kB / 1.086 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004868/0.3302, allocations: 180.6 kB / 1.087 GB, free: 6.879 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.001222/0.3314, allocations: 0.843 MB / 1.087 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.3317, allocations: 137.1 kB / 1.087 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.332, allocations: 93.58 kB / 1.088 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003654/0.3323, allocations: 0.4908 MB / 1.088 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.3324, allocations: 38.56 kB / 1.088 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.3324, allocations: 0 / 1.088 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0007823/0.3332, allocations: 261.2 kB / 1.088 GB, free: 4.809 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.3332, allocations: 81.11 kB / 1.088 GB, free: 4.711 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.3335, allocations: 271 kB / 1.089 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.3335, allocations: 29.7 kB / 1.089 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.3337, allocations: 168.2 kB / 1.089 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.3337, allocations: 43.59 kB / 1.089 GB, free: 4.191 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/0.3338, allocations: 33.7 kB / 1.089 GB, free: 4.152 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3339, allocations: 338.8 kB / 1.089 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.3341, allocations: 59.94 kB / 1.089 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.3343, allocations: 118.3 kB / 1.089 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.3347, allocations: 180 kB / 1.09 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3348, allocations: 0 / 1.09 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005039/0.3353, allocations: 209.2 kB / 1.09 GB, free: 3.215 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3353, allocations: 5.562 kB / 1.09 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3353, allocations: 4 kB / 1.09 GB, free: 3.207 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3353, allocations: 3.938 kB / 1.09 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.3356, allocations: 59.88 kB / 1.09 GB, free: 3.145 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.3356, allocations: 7.984 kB / 1.09 GB, free: 3.137 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.3358, allocations: 35.78 kB / 1.09 GB, free: 3.102 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.3359, allocations: 4 kB / 1.09 GB, free: 3.098 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.0001336/0.336, allocations: 153.7 kB / 1.09 GB, free: 2.938 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.335e-05/0.3361, allocations: 23.72 kB / 1.09 GB, free: 2.914 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.3364, allocations: 183.2 kB / 1.09 GB, free: 2.727 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.3364, allocations: 4 kB / 1.09 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3364, allocations: 0 / 1.09 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3364, allocations: 3.984 kB / 1.09 GB, free: 2.719 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007377/0.3372, allocations: 0.6029 MB / 1.091 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.3372, allocations: 4 kB / 1.091 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.3375, allocations: 44 kB / 1.091 GB, free: 2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3375, allocations: 8.109 kB / 1.091 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.3375, allocations: 12.42 kB / 1.091 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.3375, allocations: 4 kB / 1.091 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3375, allocations: 3.938 kB / 1.091 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000615/0.3381, allocations: 437.7 kB / 1.091 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.3383, allocations: 124.6 kB / 1.091 GB, free: 1.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.3383, allocations: 8 kB / 1.091 GB, free: 1.367 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.3385, allocations: 16.06 kB / 1.091 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.3386, allocations: 31.8 kB / 1.092 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.3386, allocations: 4 kB / 1.092 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001878/0.3388, allocations: 197.9 kB / 1.092 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3388, allocations: 0 / 1.092 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004858/0.3393, allocations: 87.84 kB / 1.092 GB, free: 1.039 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.001356/0.3407, allocations: 1.063 MB / 1.093 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005847/0.3413, allocations: 188.9 kB / 1.093 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3413, allocations: 0 / 1.093 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.3416, allocations: 103.9 kB / 1.093 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009213/0.3425, allocations: 120.7 kB / 1.093 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/0.3464, allocations: 2.632 MB / 1.096 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.3468, allocations: 0.7714 MB / 1.097 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002032/0.347, allocations: 58.19 kB / 1.097 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.3471, allocations: 83.41 kB / 1.097 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of SimCode: time 6.61e-07/0.3471, allocations: 0 / 1.097 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.375, allocations: 8.034 MB / 1.105 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.453/7.828, allocations: 16.89 kB / 1.105 GB, free: 3.984 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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