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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001393/0.001393, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001509/0.001509, allocations: 192.4 kB / 16.14 MB, free: 6.711 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.435/1.435, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.583/2.583, allocations: 437 MB / 0.7099 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.91 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5371/0.5384, allocations: 151.6 MB / 1.017 GB, free: 2.852 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01333/0.5517, allocations: 14.74 MB / 1.031 GB, free: 4.047 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003888/0.5556, allocations: 3.732 MB / 1.035 GB, free: 312 kB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.5559, allocations: 15.94 kB / 1.035 GB, free: 296 kB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003717/0.5563, allocations: 135.1 kB / 1.035 GB, free: 160 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006582/0.5569, allocations: 378.3 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006484/0.5576, allocations: 299.3 kB / 1.036 GB, free: 15.5 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0008676/0.5585, allocations: 1.092 MB / 1.037 GB, free: 14.4 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003386/0.5588, allocations: 257.1 kB / 1.037 GB, free: 14.16 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005262/0.5593, allocations: 338.5 kB / 1.037 GB, free: 13.82 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.5596, allocations: 230.9 kB / 1.037 GB, free: 13.6 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.5596, allocations: 12 kB / 1.037 GB, free: 13.59 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003764/0.56, allocations: 215.5 kB / 1.038 GB, free: 13.38 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.871e-05/0.5601, allocations: 67.73 kB / 1.038 GB, free: 13.31 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.5602, allocations: 131.3 kB / 1.038 GB, free: 13.18 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004594/0.5607, allocations: 418.7 kB / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.5607, allocations: 0 / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of FrontEnd: time 5.81e-07/0.5607, allocations: 0 / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.5607, allocations: 0 / 1.038 GB, free: 12.77 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.0007465/0.5615, allocations: 0.604 MB / 1.039 GB, free: 12.12 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.5615, allocations: 12.03 kB / 1.039 GB, free: 12.11 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.584e-05/0.5616, allocations: 54.73 kB / 1.039 GB, free: 12.04 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.5617, allocations: 32.56 kB / 1.039 GB, free: 12.01 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.562, allocations: 315 kB / 1.039 GB, free: 11.67 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.562, allocations: 20.81 kB / 1.039 GB, free: 11.64 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.5621, allocations: 20.38 kB / 1.039 GB, free: 11.62 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004906/0.5626, allocations: 257.3 kB / 1.039 GB, free: 11.36 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.5626, allocations: 0 / 1.039 GB, free: 11.36 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.5626, allocations: 12 kB / 1.039 GB, free: 11.35 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.5626, allocations: 4 kB / 1.039 GB, free: 11.35 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/0.5631, allocations: 190.5 kB / 1.04 GB, free: 11.16 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.00106/0.5641, allocations: 0.8276 MB / 1.04 GB, free: 10.27 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.5644, allocations: 145.1 kB / 1.041 GB, free: 10.11 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.5647, allocations: 89.66 kB / 1.041 GB, free: 10.02 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003288/0.565, allocations: 0.4948 MB / 1.041 GB, free: 9.41 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.565, allocations: 34.55 kB / 1.041 GB, free: 9.367 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.565, allocations: 0 / 1.041 GB, free: 9.367 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0007066/0.5658, allocations: 261.2 kB / 1.041 GB, free: 9.105 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.5658, allocations: 77.11 kB / 1.042 GB, free: 9.012 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.566, allocations: 270.9 kB / 1.042 GB, free: 8.742 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.5661, allocations: 29.7 kB / 1.042 GB, free: 8.707 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.897e-05/0.5662, allocations: 168.3 kB / 1.042 GB, free: 8.539 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.5662, allocations: 39.5 kB / 1.042 GB, free: 8.5 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.815e-05/0.5663, allocations: 41.64 kB / 1.042 GB, free: 8.453 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.884e-05/0.5664, allocations: 334.8 kB / 1.042 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.5666, allocations: 63.94 kB / 1.042 GB, free: 8.055 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.5668, allocations: 121.9 kB / 1.043 GB, free: 7.914 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.5672, allocations: 176.4 kB / 1.043 GB, free: 7.727 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5672, allocations: 0 / 1.043 GB, free: 7.727 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004832/0.5677, allocations: 221.1 kB / 1.043 GB, free: 7.504 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.5677, allocations: 4 kB / 1.043 GB, free: 7.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.5678, allocations: 4 kB / 1.043 GB, free: 7.496 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.126e-06/0.5678, allocations: 0 / 1.043 GB, free: 7.496 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.568, allocations: 56.03 kB / 1.043 GB, free: 7.441 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.5681, allocations: 0 / 1.043 GB, free: 7.441 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.5683, allocations: 31.83 kB / 1.043 GB, free: 7.41 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.5683, allocations: 12.03 kB / 1.043 GB, free: 7.398 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.0001185/0.5684, allocations: 149.7 kB / 1.043 GB, free: 7.242 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/0.5685, allocations: 31.61 kB / 1.043 GB, free: 7.211 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.5688, allocations: 183.3 kB / 1.043 GB, free: 7.023 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.5688, allocations: 0 / 1.043 GB, free: 7.023 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5688, allocations: 3.938 kB / 1.043 GB, free: 7.02 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.5688, allocations: 0 / 1.043 GB, free: 7.02 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006891/0.5695, allocations: 0.5952 MB / 1.044 GB, free: 6.355 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.5695, allocations: 4 kB / 1.044 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.5698, allocations: 51.88 kB / 1.044 GB, free: 6.301 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.5698, allocations: 4 kB / 1.044 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.5698, allocations: 4 kB / 1.044 GB, free: 6.293 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.5698, allocations: 0 / 1.044 GB, free: 6.293 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5698, allocations: 4 kB / 1.044 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005657/0.5704, allocations: 443.7 kB / 1.044 GB, free: 5.828 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.81e-05/0.5705, allocations: 128.6 kB / 1.045 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.5705, allocations: 4 kB / 1.045 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.5708, allocations: 23.97 kB / 1.045 GB, free: 5.656 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.5708, allocations: 19.92 kB / 1.045 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.5708, allocations: 8.125 kB / 1.045 GB, free: 5.629 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001635/0.571, allocations: 202 kB / 1.045 GB, free: 5.43 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.571, allocations: 3.938 kB / 1.045 GB, free: 5.426 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004089/0.5714, allocations: 83.84 kB / 1.045 GB, free: 5.344 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.001067/0.5725, allocations: 1.071 MB / 1.046 GB, free: 4.242 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004647/0.573, allocations: 175.7 kB / 1.046 GB, free: 4.07 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.573, allocations: 192 / 1.046 GB, free: 4.07 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.5733, allocations: 107.9 kB / 1.046 GB, free: 3.965 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007957/0.5741, allocations: 116 kB / 1.046 GB, free: 3.855 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.5771, allocations: 2.716 MB / 1.049 GB, free: 1.004 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.5774, allocations: 0.7677 MB / 1.05 GB, free: 216 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001507/0.5776, allocations: 58.19 kB / 1.05 GB, free: 160 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.5777, allocations: 83.41 kB / 1.05 GB, free: 76 kB / 0.795 GB Notification: Performance of SimCode: time 3.01e-07/0.5777, allocations: 0 / 1.05 GB, free: 76 kB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.765/2.343, allocations: 7.665 MB / 1.057 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002771/2.343, allocations: 254.8 kB / 1.058 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.127/4.47, allocations: 0 / 1.058 GB, free: 8.352 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 & /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