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.004805/0.004805, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001226/0.001226, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.285/2.285, allocations: 437.1 MB / 0.7106 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 67.83 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6394/0.6411, allocations: 151.6 MB / 1.166 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01483/0.656, allocations: 14.79 MB / 1.181 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004069/0.6601, allocations: 3.735 MB / 1.184 GB, free: 1.141 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.6602, allocations: 15.88 kB / 1.184 GB, free: 1.125 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003656/0.6606, allocations: 166.7 kB / 1.184 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006708/0.6613, allocations: 398 kB / 1.185 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006778/0.662, allocations: 337.4 kB / 1.185 GB, free: 248 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007626/0.6628, allocations: 0.7726 MB / 1.186 GB, free: 15.47 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003748/0.6631, allocations: 284.5 kB / 1.186 GB, free: 15.19 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005223/0.6637, allocations: 382.4 kB / 1.187 GB, free: 14.82 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.6639, allocations: 223 kB / 1.187 GB, free: 14.6 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.664, allocations: 20 kB / 1.187 GB, free: 14.58 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003847/0.6644, allocations: 231.5 kB / 1.187 GB, free: 14.35 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.202e-05/0.6645, allocations: 75.75 kB / 1.187 GB, free: 14.28 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.6646, allocations: 139.3 kB / 1.187 GB, free: 14.14 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005296/0.6651, allocations: 434.1 kB / 1.188 GB, free: 13.72 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.6652, allocations: 4 kB / 1.188 GB, free: 13.71 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6652, allocations: 0 / 1.188 GB, free: 13.71 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.6652, allocations: 4 kB / 1.188 GB, free: 13.71 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.0007983/0.666, allocations: 0.6036 MB / 1.188 GB, free: 13.06 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.742e-05/0.666, allocations: 12.62 kB / 1.188 GB, free: 13.05 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.499e-05/0.6661, allocations: 58.67 kB / 1.188 GB, free: 12.98 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/0.6661, allocations: 36.75 kB / 1.188 GB, free: 12.95 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.6666, allocations: 335.2 kB / 1.189 GB, free: 12.58 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.6666, allocations: 20.81 kB / 1.189 GB, free: 12.56 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.6666, allocations: 28.38 kB / 1.189 GB, free: 12.53 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004717/0.6671, allocations: 253.3 kB / 1.189 GB, free: 12.27 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.6671, allocations: 3.938 kB / 1.189 GB, free: 12.27 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.6672, allocations: 15.94 kB / 1.189 GB, free: 12.25 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.6672, allocations: 4 kB / 1.189 GB, free: 12.25 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004632/0.6676, allocations: 184.6 kB / 1.189 GB, free: 12.07 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.001087/0.6687, allocations: 0.8355 MB / 1.19 GB, free: 11.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.669, allocations: 137.1 kB / 1.19 GB, free: 11.01 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.6692, allocations: 85.66 kB / 1.19 GB, free: 10.92 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003829/0.6696, allocations: 0.4947 MB / 1.191 GB, free: 10.32 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.6697, allocations: 38.5 kB / 1.191 GB, free: 10.27 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.6697, allocations: 0 / 1.191 GB, free: 10.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.0006989/0.6704, allocations: 265.4 kB / 1.191 GB, free: 10 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.6704, allocations: 81.11 kB / 1.191 GB, free: 9.906 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.6707, allocations: 267 kB / 1.191 GB, free: 9.641 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.6707, allocations: 29.7 kB / 1.191 GB, free: 9.605 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.6708, allocations: 168.5 kB / 1.191 GB, free: 9.438 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/0.6709, allocations: 43.58 kB / 1.191 GB, free: 9.395 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.968e-05/0.671, allocations: 33.72 kB / 1.191 GB, free: 9.355 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.6711, allocations: 334.8 kB / 1.192 GB, free: 9.02 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.6713, allocations: 63.94 kB / 1.192 GB, free: 8.957 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.6715, allocations: 117.9 kB / 1.192 GB, free: 8.82 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003916/0.6719, allocations: 168.1 kB / 1.192 GB, free: 8.641 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6719, allocations: 0 / 1.192 GB, free: 8.641 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004753/0.6724, allocations: 221.2 kB / 1.192 GB, free: 8.418 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.6724, allocations: 4 kB / 1.192 GB, free: 8.414 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.6725, allocations: 0 / 1.192 GB, free: 8.414 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.6725, allocations: 4 kB / 1.192 GB, free: 8.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.6727, allocations: 55.88 kB / 1.192 GB, free: 8.355 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.6727, allocations: 96 / 1.192 GB, free: 8.355 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.6729, allocations: 35.83 kB / 1.192 GB, free: 8.32 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.6729, allocations: 11.98 kB / 1.192 GB, free: 8.309 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.0001276/0.6731, allocations: 145.8 kB / 1.193 GB, free: 8.156 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.6731, allocations: 23.86 kB / 1.193 GB, free: 8.133 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.6734, allocations: 179.3 kB / 1.193 GB, free: 7.953 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.6734, allocations: 0 / 1.193 GB, free: 7.953 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6734, allocations: 4 kB / 1.193 GB, free: 7.949 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.6734, allocations: 4 kB / 1.193 GB, free: 7.945 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007163/0.6742, allocations: 0.6072 MB / 1.193 GB, free: 7.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.6742, allocations: 0 / 1.193 GB, free: 7.27 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.6744, allocations: 64.06 kB / 1.193 GB, free: 7.207 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.6744, allocations: 0 / 1.193 GB, free: 7.207 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.6744, allocations: 8 kB / 1.193 GB, free: 7.199 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.6745, allocations: 0 / 1.193 GB, free: 7.199 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.6745, allocations: 4 kB / 1.193 GB, free: 7.195 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005887/0.6751, allocations: 449.8 kB / 1.194 GB, free: 6.727 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.6752, allocations: 128.9 kB / 1.194 GB, free: 6.582 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.6752, allocations: 0 / 1.194 GB, free: 6.582 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.6754, allocations: 19.98 kB / 1.194 GB, free: 6.562 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.6755, allocations: 23.91 kB / 1.194 GB, free: 6.539 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.6755, allocations: 8 kB / 1.194 GB, free: 6.531 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001788/0.6757, allocations: 194 kB / 1.194 GB, free: 6.34 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6757, allocations: 0 / 1.194 GB, free: 6.34 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003629/0.676, allocations: 91.75 kB / 1.194 GB, free: 6.25 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.001135/0.6772, allocations: 1.069 MB / 1.195 GB, free: 5.148 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004751/0.6777, allocations: 179.7 kB / 1.196 GB, free: 4.973 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6777, allocations: 0 / 1.196 GB, free: 4.973 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.6779, allocations: 111.8 kB / 1.196 GB, free: 4.863 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007001/0.6786, allocations: 119.2 kB / 1.196 GB, free: 4.75 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/0.6818, allocations: 2.638 MB / 1.198 GB, free: 1.984 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.6822, allocations: 0.7752 MB / 1.199 GB, free: 1.184 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001298/0.6823, allocations: 58.19 kB / 1.199 GB, free: 1.129 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.6824, allocations: 83.41 kB / 1.199 GB, free: 1.047 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.6824, allocations: 0 / 1.199 GB, free: 1.047 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4539/1.136, allocations: 8.136 MB / 1.207 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.56, allocations: 15.95 kB / 1.207 GB, free: 9.074 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 & /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=400 --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