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.001709/0.001716, allocations: 108 kB / 15.61 MB, free: 148 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.0019/0.0019, allocations: 196 kB / 16.53 MB, free: 6.656 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.632/2.632, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 0.8693 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6377/0.639, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01549/0.6545, allocations: 14.79 MB / 1.032 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004381/0.659, allocations: 3.725 MB / 1.035 GB, free: 15.87 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003379/0.6593, allocations: 15.88 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004516/0.6598, allocations: 174.7 kB / 1.036 GB, free: 15.68 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0008288/0.6607, allocations: 401.9 kB / 1.036 GB, free: 15.29 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007736/0.6615, allocations: 324.2 kB / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0007205/0.6622, allocations: 0.7725 MB / 1.037 GB, free: 14.2 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004018/0.6626, allocations: 282.4 kB / 1.037 GB, free: 13.93 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005913/0.6632, allocations: 382.3 kB / 1.038 GB, free: 13.55 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.6635, allocations: 227 kB / 1.038 GB, free: 13.33 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/0.6635, allocations: 20 kB / 1.038 GB, free: 13.31 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004474/0.664, allocations: 227.5 kB / 1.038 GB, free: 13.09 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.443e-05/0.6641, allocations: 75.73 kB / 1.038 GB, free: 13.01 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.6642, allocations: 143.3 kB / 1.038 GB, free: 12.87 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005091/0.6647, allocations: 418.8 kB / 1.039 GB, free: 12.46 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6647, allocations: 0 / 1.039 GB, free: 12.46 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6648, allocations: 3.938 kB / 1.039 GB, free: 12.46 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.6648, allocations: 0 / 1.039 GB, free: 12.46 MB / 0.795 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.0007901/0.6656, allocations: 0.5962 MB / 1.039 GB, free: 11.81 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.6656, allocations: 16.03 kB / 1.039 GB, free: 11.8 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.471e-05/0.6657, allocations: 58.72 kB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.6657, allocations: 36.5 kB / 1.039 GB, free: 11.7 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.6661, allocations: 311 kB / 1.04 GB, free: 11.36 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.6661, allocations: 16.81 kB / 1.04 GB, free: 11.34 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.571e-05/0.6662, allocations: 24.31 kB / 1.04 GB, free: 11.32 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005105/0.6667, allocations: 261.3 kB / 1.04 GB, free: 11.05 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.6667, allocations: 4 kB / 1.04 GB, free: 11.04 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.6667, allocations: 8 kB / 1.04 GB, free: 11.04 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.6668, allocations: 8 kB / 1.04 GB, free: 11.03 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004832/0.6672, allocations: 172.6 kB / 1.04 GB, free: 10.86 MB / 0.795 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.001257/0.6685, allocations: 0.8471 MB / 1.041 GB, free: 9.945 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.6688, allocations: 137.1 kB / 1.041 GB, free: 9.793 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.6691, allocations: 93.64 kB / 1.041 GB, free: 9.695 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003534/0.6694, allocations: 0.4949 MB / 1.042 GB, free: 9.09 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.6695, allocations: 30.56 kB / 1.042 GB, free: 9.051 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.6695, allocations: 0 / 1.042 GB, free: 9.051 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0007863/0.6703, allocations: 265.2 kB / 1.042 GB, free: 8.785 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.6703, allocations: 77.11 kB / 1.042 GB, free: 8.691 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.6706, allocations: 263 kB / 1.042 GB, free: 8.43 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.6706, allocations: 33.7 kB / 1.042 GB, free: 8.391 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.6707, allocations: 164.2 kB / 1.043 GB, free: 8.227 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.6708, allocations: 47.39 kB / 1.043 GB, free: 8.18 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-05/0.6708, allocations: 37.7 kB / 1.043 GB, free: 8.137 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.6709, allocations: 334.8 kB / 1.043 GB, free: 7.801 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.6711, allocations: 59.94 kB / 1.043 GB, free: 7.742 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.6714, allocations: 125.8 kB / 1.043 GB, free: 7.602 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/0.6718, allocations: 172.1 kB / 1.043 GB, free: 7.418 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6718, allocations: 4 kB / 1.043 GB, free: 7.414 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005147/0.6723, allocations: 205.2 kB / 1.044 GB, free: 7.207 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.6724, allocations: 4 kB / 1.044 GB, free: 7.203 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.6724, allocations: 7.938 kB / 1.044 GB, free: 7.195 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.6724, allocations: 0 / 1.044 GB, free: 7.195 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.6727, allocations: 59.97 kB / 1.044 GB, free: 7.137 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.6727, allocations: 4 kB / 1.044 GB, free: 7.133 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.6729, allocations: 40.16 kB / 1.044 GB, free: 7.094 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.6729, allocations: 4 kB / 1.044 GB, free: 7.09 MB / 0.795 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.0001345/0.6731, allocations: 149.7 kB / 1.044 GB, free: 6.934 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.287e-05/0.6732, allocations: 23.72 kB / 1.044 GB, free: 6.91 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002965/0.6735, allocations: 187.2 kB / 1.044 GB, free: 6.719 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.6735, allocations: 4 kB / 1.044 GB, free: 6.715 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6735, allocations: 0 / 1.044 GB, free: 6.715 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.6735, allocations: 3.984 kB / 1.044 GB, free: 6.711 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007299/0.6742, allocations: 0.6069 MB / 1.045 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.6743, allocations: 0 / 1.045 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.6745, allocations: 51.94 kB / 1.045 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.6745, allocations: 0 / 1.045 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.6745, allocations: 4 kB / 1.045 GB, free: 5.98 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.6746, allocations: 4 kB / 1.045 GB, free: 5.977 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6746, allocations: 3.938 kB / 1.045 GB, free: 5.973 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006087/0.6752, allocations: 439.6 kB / 1.045 GB, free: 5.516 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.71e-05/0.6753, allocations: 124.7 kB / 1.045 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.6753, allocations: 7.984 kB / 1.045 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.6756, allocations: 15.98 kB / 1.045 GB, free: 5.352 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.479e-05/0.6756, allocations: 23.86 kB / 1.045 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.6756, allocations: 4 kB / 1.045 GB, free: 5.324 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001729/0.6758, allocations: 197.9 kB / 1.045 GB, free: 5.129 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6758, allocations: 0 / 1.045 GB, free: 5.129 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004426/0.6763, allocations: 87.84 kB / 1.046 GB, free: 5.043 MB / 0.795 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.001126/0.6774, allocations: 1.075 MB / 1.047 GB, free: 3.934 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005152/0.6779, allocations: 183.7 kB / 1.047 GB, free: 3.754 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6779, allocations: 0 / 1.047 GB, free: 3.754 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.6782, allocations: 112.3 kB / 1.047 GB, free: 3.645 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008463/0.6791, allocations: 115.6 kB / 1.047 GB, free: 3.535 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/0.6826, allocations: 2.637 MB / 1.05 GB, free: 0.7695 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.683, allocations: 0.7714 MB / 1.05 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001741/0.6831, allocations: 54.25 kB / 1.05 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.6833, allocations: 83.41 kB / 1.05 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of SimCode: time 8.41e-07/0.6833, allocations: 0 / 1.05 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.7094, allocations: 8.055 MB / 1.058 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.549/8.259, allocations: 1.875 kB / 1.058 GB, free: 7.953 MB / 0.8106 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