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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.004823/0.004823, allocations: 101.9 kB / 15.73 MB, free: 6.023 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.001263/0.001263, allocations: 196.4 kB / 16.68 MB, free: 5.934 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.589/2.589, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 60.12 kB / 1.018 GB, free: 9.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7279/0.7299, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01732/0.7472, allocations: 14.78 MB / 1.181 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004862/0.7521, allocations: 3.727 MB / 1.184 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002545/0.7524, allocations: 11.94 kB / 1.184 GB, free: 1.164 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004694/0.7529, allocations: 174.7 kB / 1.184 GB, free: 0.9922 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008345/0.7538, allocations: 398 kB / 1.185 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008227/0.7546, allocations: 327.8 kB / 1.185 GB, free: 288 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008838/0.7555, allocations: 0.7764 MB / 1.186 GB, free: 15.5 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004471/0.756, allocations: 288.1 kB / 1.186 GB, free: 15.22 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006587/0.7566, allocations: 386.3 kB / 1.186 GB, free: 14.84 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.7569, allocations: 223 kB / 1.187 GB, free: 14.62 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.396e-05/0.757, allocations: 20 kB / 1.187 GB, free: 14.61 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004542/0.7574, allocations: 227.5 kB / 1.187 GB, free: 14.38 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.7576, allocations: 75.8 kB / 1.187 GB, free: 14.31 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.7577, allocations: 139.2 kB / 1.187 GB, free: 14.17 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006069/0.7583, allocations: 434.1 kB / 1.188 GB, free: 13.75 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.7584, allocations: 8 kB / 1.188 GB, free: 13.74 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7584, allocations: 0 / 1.188 GB, free: 13.74 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.7584, allocations: 0 / 1.188 GB, free: 13.74 MB / 0.92 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.0008956/0.7593, allocations: 0.6152 MB / 1.188 GB, free: 13.08 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.7593, allocations: 8.922 kB / 1.188 GB, free: 13.07 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.375e-05/0.7594, allocations: 58.73 kB / 1.188 GB, free: 13 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.7595, allocations: 32.75 kB / 1.188 GB, free: 12.97 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005156/0.76, allocations: 331.1 kB / 1.189 GB, free: 12.61 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.76, allocations: 20.81 kB / 1.189 GB, free: 12.59 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/0.7601, allocations: 24.38 kB / 1.189 GB, free: 12.57 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/0.7606, allocations: 257.3 kB / 1.189 GB, free: 12.3 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.7607, allocations: 0 / 1.189 GB, free: 12.3 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.7607, allocations: 12 kB / 1.189 GB, free: 12.29 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.7607, allocations: 4 kB / 1.189 GB, free: 12.29 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005035/0.7612, allocations: 184.5 kB / 1.189 GB, free: 12.11 MB / 0.92 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.00124/0.7625, allocations: 0.8277 MB / 1.19 GB, free: 11.21 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.7628, allocations: 145.1 kB / 1.19 GB, free: 11.05 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.763, allocations: 89.64 kB / 1.19 GB, free: 10.96 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004352/0.7635, allocations: 0.4908 MB / 1.191 GB, free: 10.36 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.7635, allocations: 38.5 kB / 1.191 GB, free: 10.31 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.7635, allocations: 0 / 1.191 GB, free: 10.31 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.0007962/0.7643, allocations: 265.3 kB / 1.191 GB, free: 10.05 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.7644, allocations: 77.11 kB / 1.191 GB, free: 9.953 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.7647, allocations: 267 kB / 1.191 GB, free: 9.688 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.7647, allocations: 29.7 kB / 1.191 GB, free: 9.652 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.7649, allocations: 168.5 kB / 1.191 GB, free: 9.484 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.7649, allocations: 47.72 kB / 1.191 GB, free: 9.438 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.765, allocations: 37.7 kB / 1.191 GB, free: 9.395 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.7652, allocations: 334.8 kB / 1.192 GB, free: 9.059 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.7654, allocations: 63.94 kB / 1.192 GB, free: 8.996 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.7656, allocations: 123.7 kB / 1.192 GB, free: 8.855 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/0.7661, allocations: 172.1 kB / 1.192 GB, free: 8.672 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7661, allocations: 0 / 1.192 GB, free: 8.672 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005272/0.7666, allocations: 217.2 kB / 1.192 GB, free: 8.453 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.7666, allocations: 4 kB / 1.192 GB, free: 8.449 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.7667, allocations: 8.094 kB / 1.192 GB, free: 8.441 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.7667, allocations: 3.984 kB / 1.192 GB, free: 8.438 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.767, allocations: 47.95 kB / 1.192 GB, free: 8.391 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.767, allocations: 0 / 1.192 GB, free: 8.391 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.7672, allocations: 36.12 kB / 1.192 GB, free: 8.355 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.7672, allocations: 8 kB / 1.192 GB, free: 8.348 MB / 0.92 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.0001556/0.7674, allocations: 153.7 kB / 1.193 GB, free: 8.188 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.064e-05/0.7674, allocations: 23.86 kB / 1.193 GB, free: 8.164 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.7678, allocations: 175.3 kB / 1.193 GB, free: 7.988 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.7678, allocations: 0 / 1.193 GB, free: 7.988 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.84e-06/0.7678, allocations: 7.984 kB / 1.193 GB, free: 7.98 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.7678, allocations: 0 / 1.193 GB, free: 7.98 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008387/0.7686, allocations: 0.6068 MB / 1.193 GB, free: 7.305 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.7687, allocations: 0 / 1.193 GB, free: 7.305 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.7689, allocations: 51.94 kB / 1.193 GB, free: 7.254 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7689, allocations: 0 / 1.193 GB, free: 7.254 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.769, allocations: 8 kB / 1.193 GB, free: 7.246 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.769, allocations: 3.938 kB / 1.193 GB, free: 7.242 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.769, allocations: 4 kB / 1.193 GB, free: 7.238 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006743/0.7697, allocations: 461.9 kB / 1.194 GB, free: 6.758 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.7698, allocations: 120.9 kB / 1.194 GB, free: 6.621 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.7698, allocations: 4 kB / 1.194 GB, free: 6.617 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.7701, allocations: 16.11 kB / 1.194 GB, free: 6.602 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.7701, allocations: 23.86 kB / 1.194 GB, free: 6.578 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.7702, allocations: 11.98 kB / 1.194 GB, free: 6.566 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002002/0.7704, allocations: 198 kB / 1.194 GB, free: 6.371 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7704, allocations: 0 / 1.194 GB, free: 6.371 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004327/0.7708, allocations: 87.77 kB / 1.194 GB, free: 6.285 MB / 0.92 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.001309/0.7721, allocations: 1.069 MB / 1.195 GB, free: 5.184 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005551/0.7727, allocations: 183.6 kB / 1.196 GB, free: 5.004 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7727, allocations: 0 / 1.196 GB, free: 5.004 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.773, allocations: 112 kB / 1.196 GB, free: 4.895 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008029/0.7738, allocations: 114.6 kB / 1.196 GB, free: 4.781 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003648/0.7775, allocations: 2.64 MB / 1.198 GB, free: 2.016 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.7779, allocations: 0.7752 MB / 1.199 GB, free: 1.215 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001719/0.7781, allocations: 58.23 kB / 1.199 GB, free: 1.16 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.7782, allocations: 83.41 kB / 1.199 GB, free: 1.078 MB / 0.92 GB Notification: Performance of SimCode: time 3.31e-07/0.7782, allocations: 0 / 1.199 GB, free: 1.078 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03194/0.8102, allocations: 8.131 MB / 1.207 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.523/9.333, allocations: 9.578 kB / 1.207 GB, free: 9.109 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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