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.00554/0.00554, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.00122/0.00122, allocations: 201.9 kB / 16.68 MB, free: 5.977 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.701/2.701, allocations: 437 MB / 0.7105 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 59.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3549, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.02045/0.3754, allocations: 14.78 MB / 1.181 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005539/0.381, allocations: 3.727 MB / 1.184 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006218/0.3817, allocations: 15.94 kB / 1.184 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000696/0.3824, allocations: 170.7 kB / 1.184 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.3837, allocations: 418 kB / 1.185 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.3848, allocations: 334.5 kB / 1.185 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001145/0.386, allocations: 0.7764 MB / 1.186 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005925/0.3866, allocations: 303.1 kB / 1.186 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000982/0.3876, allocations: 382.3 kB / 1.187 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004076/0.388, allocations: 223 kB / 1.187 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.294e-05/0.3881, allocations: 20 kB / 1.187 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006355/0.3887, allocations: 235.5 kB / 1.187 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.3889, allocations: 71.73 kB / 1.187 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.3891, allocations: 147.2 kB / 1.187 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007666/0.3898, allocations: 427.5 kB / 1.188 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.3899, allocations: 3.984 kB / 1.188 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3899, allocations: 0 / 1.188 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.3899, allocations: 0 / 1.188 GB, free: 1.23 MB / 0.9356 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.0009864/0.3909, allocations: 0.6117 MB / 1.188 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.3909, allocations: 12.03 kB / 1.188 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.334e-05/0.391, allocations: 50.73 kB / 1.188 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.112e-05/0.3911, allocations: 36.56 kB / 1.188 GB, free: 476 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005508/0.3917, allocations: 327 kB / 1.189 GB, free: 108 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.3917, allocations: 12.81 kB / 1.189 GB, free: 96 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.3917, allocations: 24.38 kB / 1.189 GB, free: 72 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005484/0.3923, allocations: 257.3 kB / 1.189 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3923, allocations: 0 / 1.189 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.3923, allocations: 12 kB / 1.189 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.3924, allocations: 8 kB / 1.189 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004833/0.3928, allocations: 180.5 kB / 1.189 GB, free: 15.61 MB / 0.9512 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.001279/0.3941, allocations: 0.8274 MB / 1.19 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.3944, allocations: 141.1 kB / 1.19 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.3947, allocations: 101.6 kB / 1.19 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004002/0.3951, allocations: 498.6 kB / 1.191 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.3951, allocations: 42.56 kB / 1.191 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.3951, allocations: 0 / 1.191 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0007421/0.3959, allocations: 257.2 kB / 1.191 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.3959, allocations: 81.11 kB / 1.191 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002711/0.3962, allocations: 271 kB / 1.191 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.3962, allocations: 29.7 kB / 1.191 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.3964, allocations: 168.3 kB / 1.191 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.3964, allocations: 43.59 kB / 1.191 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.541e-05/0.3965, allocations: 37.61 kB / 1.191 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3966, allocations: 338.8 kB / 1.192 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.3968, allocations: 59.94 kB / 1.192 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.3971, allocations: 125.9 kB / 1.192 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.3975, allocations: 168.1 kB / 1.192 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3975, allocations: 0 / 1.192 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005036/0.398, allocations: 209.1 kB / 1.192 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.398, allocations: 11.94 kB / 1.192 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.398, allocations: 0 / 1.192 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.3981, allocations: 7.984 kB / 1.192 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.3983, allocations: 52.05 kB / 1.192 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3983, allocations: 4 kB / 1.192 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.3985, allocations: 31.75 kB / 1.192 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.3986, allocations: 4 kB / 1.192 GB, free: 11.84 MB / 0.9512 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.0001352/0.3987, allocations: 153.7 kB / 1.193 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.3988, allocations: 27.72 kB / 1.193 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.3991, allocations: 175.3 kB / 1.193 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.3991, allocations: 4 kB / 1.193 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3991, allocations: 0 / 1.193 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3992, allocations: 3.984 kB / 1.193 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007688/0.3999, allocations: 0.6068 MB / 1.193 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.3999, allocations: 4.438 kB / 1.193 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.4002, allocations: 47.94 kB / 1.193 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.4002, allocations: 4 kB / 1.193 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.4002, allocations: 8 kB / 1.193 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.4002, allocations: 7.938 kB / 1.193 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4002, allocations: 0 / 1.193 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006136/0.4008, allocations: 443.7 kB / 1.194 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.401, allocations: 116.8 kB / 1.194 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.401, allocations: 15.92 kB / 1.194 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.4012, allocations: 15.92 kB / 1.194 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.989e-05/0.4013, allocations: 19.92 kB / 1.194 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.4013, allocations: 11.98 kB / 1.194 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001749/0.4015, allocations: 190 kB / 1.194 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/0.4015, allocations: 0 / 1.194 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004731/0.402, allocations: 91.84 kB / 1.194 GB, free: 9.793 MB / 0.9512 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.00124/0.4033, allocations: 1.068 MB / 1.195 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005002/0.4038, allocations: 179.7 kB / 1.196 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4038, allocations: 0 / 1.196 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.404, allocations: 108.3 kB / 1.196 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007758/0.4048, allocations: 117 kB / 1.196 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.4084, allocations: 2.632 MB / 1.198 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.4088, allocations: 0.7752 MB / 1.199 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001886/0.409, allocations: 54.33 kB / 1.199 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.4091, allocations: 87.41 kB / 1.199 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of SimCode: time 3.8e-07/0.4091, allocations: 0 / 1.199 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03069/0.4398, allocations: 8.132 MB / 1.207 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.22/8.66, allocations: 12.7 kB / 1.207 GB, free: 12.65 MB / 0.9669 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=50 --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