Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_latest_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.001108/0.001108, allocations: 108 kB / 15.6 MB, free: 132 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.001108/0.001108, allocations: 197.6 kB / 16.54 MB, free: 6.672 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.167/1.167, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.371/2.371, allocations: 461.9 MB / 0.7346 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 66.5 kB / 0.8992 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2424, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01434/0.2568, allocations: 14.79 MB / 1.067 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004043/0.2609, allocations: 3.727 MB / 1.071 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003363/0.2612, allocations: 15.88 kB / 1.071 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.2616, allocations: 166.7 kB / 1.071 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007855/0.2624, allocations: 394 kB / 1.072 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007407/0.2632, allocations: 329.9 kB / 1.072 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007466/0.2639, allocations: 0.7726 MB / 1.073 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004069/0.2644, allocations: 308.2 kB / 1.073 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005975/0.265, allocations: 374.4 kB / 1.073 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.2652, allocations: 223 kB / 1.073 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.2653, allocations: 24 kB / 1.073 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004005/0.2657, allocations: 227.5 kB / 1.074 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.2658, allocations: 75.69 kB / 1.074 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.2659, allocations: 143.3 kB / 1.074 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004866/0.2664, allocations: 418.8 kB / 1.074 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.2664, allocations: 0 / 1.074 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2664, allocations: 0 / 1.074 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.2664, allocations: 0 / 1.074 GB, free: 2.281 MB / 0.8262 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.0007484/0.2672, allocations: 0.6056 MB / 1.075 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.2672, allocations: 12.62 kB / 1.075 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.403e-05/0.2673, allocations: 58.72 kB / 1.075 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.425e-05/0.2674, allocations: 32.56 kB / 1.075 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.2677, allocations: 307.1 kB / 1.075 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.2677, allocations: 16.81 kB / 1.075 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.2678, allocations: 24.38 kB / 1.075 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004636/0.2682, allocations: 261.3 kB / 1.076 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.2682, allocations: 0 / 1.076 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.2683, allocations: 11.98 kB / 1.076 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2683, allocations: 4 kB / 1.076 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.2687, allocations: 180.6 kB / 1.076 GB, free: 0.6797 MB / 0.8262 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.001069/0.2698, allocations: 0.8354 MB / 1.077 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.2701, allocations: 137.1 kB / 1.077 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.2703, allocations: 97.59 kB / 1.077 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003283/0.2706, allocations: 498.6 kB / 1.077 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.2707, allocations: 38.56 kB / 1.077 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 2.574e-06/0.2707, allocations: 3.984 kB / 1.077 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.000697/0.2714, allocations: 265.2 kB / 1.078 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.2714, allocations: 81.11 kB / 1.078 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.2716, allocations: 267 kB / 1.078 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.2717, allocations: 29.7 kB / 1.078 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.693e-05/0.2718, allocations: 172.2 kB / 1.078 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.2718, allocations: 39.39 kB / 1.078 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/0.2719, allocations: 41.7 kB / 1.078 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.672e-05/0.272, allocations: 334.8 kB / 1.078 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.2722, allocations: 55.95 kB / 1.079 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.2724, allocations: 121.9 kB / 1.079 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.2728, allocations: 172 kB / 1.079 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2728, allocations: 4 kB / 1.079 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004539/0.2732, allocations: 209.2 kB / 1.079 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.2732, allocations: 4 kB / 1.079 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.2733, allocations: 3.938 kB / 1.079 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.2733, allocations: 4 kB / 1.079 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.2735, allocations: 59.97 kB / 1.079 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.2735, allocations: 4 kB / 1.079 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.2737, allocations: 27.81 kB / 1.079 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.2737, allocations: 12 kB / 1.079 GB, free: 12.9 MB / 0.8419 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.0001105/0.2739, allocations: 145.7 kB / 1.079 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.2739, allocations: 31.62 kB / 1.079 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.2742, allocations: 191.2 kB / 1.079 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2742, allocations: 0 / 1.079 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2742, allocations: 0 / 1.079 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2742, allocations: 4 kB / 1.079 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006415/0.2749, allocations: 0.603 MB / 1.08 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2749, allocations: 0 / 1.08 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.2751, allocations: 47.95 kB / 1.08 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2751, allocations: 4 kB / 1.08 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.2751, allocations: 4.438 kB / 1.08 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2752, allocations: 3.984 kB / 1.08 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2752, allocations: 4 kB / 1.08 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005307/0.2757, allocations: 438.8 kB / 1.081 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.479e-05/0.2758, allocations: 132.6 kB / 1.081 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.2758, allocations: 4 kB / 1.081 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.276, allocations: 23.97 kB / 1.081 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.2761, allocations: 11.92 kB / 1.081 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.2761, allocations: 15.94 kB / 1.081 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001474/0.2763, allocations: 186 kB / 1.081 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2763, allocations: 3.938 kB / 1.081 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003852/0.2767, allocations: 99.83 kB / 1.081 GB, free: 10.84 MB / 0.8419 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.001017/0.2777, allocations: 1.055 MB / 1.082 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004667/0.2782, allocations: 193.5 kB / 1.082 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2782, allocations: 0 / 1.082 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.2784, allocations: 104.3 kB / 1.082 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007838/0.2792, allocations: 128.5 kB / 1.082 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.2822, allocations: 2.62 MB / 1.085 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.2825, allocations: 0.7791 MB / 1.086 GB, free: 5.797 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001613/0.2827, allocations: 58.27 kB / 1.086 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.2828, allocations: 87.41 kB / 1.086 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.2828, allocations: 0 / 1.086 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0825/0.3653, allocations: 8.054 MB / 1.094 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.254/8.62, allocations: 8 kB / 1.094 GB, free: 13.77 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches