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.002068/0.002068, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002157/0.002158, allocations: 191 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.752/2.752, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 6.362/6.362, allocations: 461.9 MB / 0.7344 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 66.5 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5848/0.5871, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.03098/0.6181, allocations: 14.72 MB / 1.067 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0083/0.6265, allocations: 3.689 MB / 1.07 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007385/0.6273, allocations: 19.81 kB / 1.07 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009123/0.6283, allocations: 135.1 kB / 1.071 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.6301, allocations: 378.3 kB / 1.071 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.6319, allocations: 305.3 kB / 1.071 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001966/0.6339, allocations: 0.7764 MB / 1.072 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00099/0.6349, allocations: 296.2 kB / 1.072 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.6365, allocations: 366.5 kB / 1.073 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006687/0.6372, allocations: 238.9 kB / 1.073 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.6373, allocations: 20 kB / 1.073 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009609/0.6383, allocations: 235.5 kB / 1.073 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.6385, allocations: 67.75 kB / 1.073 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003362/0.6389, allocations: 151.3 kB / 1.073 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.6401, allocations: 426.7 kB / 1.074 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.6401, allocations: 0 / 1.074 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.839e-06/0.6402, allocations: 0 / 1.074 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.644e-05/0.6402, allocations: 0 / 1.074 GB, free: 2.801 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.001744/0.6419, allocations: 0.6001 MB / 1.074 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 9.606e-05/0.642, allocations: 8.625 kB / 1.074 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001427/0.6422, allocations: 62.72 kB / 1.074 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001701/0.6424, allocations: 32.56 kB / 1.074 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007971/0.6432, allocations: 311 kB / 1.075 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.6433, allocations: 16.81 kB / 1.075 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.298e-05/0.6433, allocations: 20.38 kB / 1.075 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009206/0.6443, allocations: 261.3 kB / 1.075 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.6443, allocations: 0 / 1.075 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.984e-05/0.6443, allocations: 12 kB / 1.075 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.6444, allocations: 4 kB / 1.075 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008609/0.6452, allocations: 182.4 kB / 1.075 GB, free: 1.203 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.001948/0.6472, allocations: 0.8277 MB / 1.076 GB, free: 316 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/0.6477, allocations: 141.1 kB / 1.076 GB, free: 156 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.648, allocations: 89.66 kB / 1.076 GB, free: 60 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006092/0.6487, allocations: 0.4986 MB / 1.077 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.6487, allocations: 34.56 kB / 1.077 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 2.144e-06/0.6487, allocations: 0 / 1.077 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.001261/0.65, allocations: 265.4 kB / 1.077 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/0.6501, allocations: 81.11 kB / 1.077 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004571/0.6506, allocations: 271 kB / 1.077 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.6506, allocations: 25.7 kB / 1.077 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.6508, allocations: 176.2 kB / 1.077 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.638e-05/0.6509, allocations: 35.45 kB / 1.077 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.651, allocations: 37.7 kB / 1.078 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002183/0.6513, allocations: 334.8 kB / 1.078 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.6516, allocations: 71.95 kB / 1.078 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/0.652, allocations: 113.9 kB / 1.078 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006372/0.6527, allocations: 172.1 kB / 1.078 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.6527, allocations: 0 / 1.078 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009491/0.6536, allocations: 217.1 kB / 1.078 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.759e-05/0.6537, allocations: 5.562 kB / 1.078 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.6537, allocations: 0 / 1.078 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.6538, allocations: 7.938 kB / 1.078 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004445/0.6542, allocations: 55.94 kB / 1.078 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.6543, allocations: 96 / 1.078 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003973/0.6547, allocations: 35.81 kB / 1.078 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/0.6547, allocations: 8 kB / 1.078 GB, free: 13.43 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.0002554/0.655, allocations: 149.6 kB / 1.079 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.6551, allocations: 31.62 kB / 1.079 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000509/0.6557, allocations: 186.5 kB / 1.079 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.6557, allocations: 8 kB / 1.079 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.6557, allocations: 0 / 1.079 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.6557, allocations: 0 / 1.079 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.6571, allocations: 0.5951 MB / 1.079 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.6571, allocations: 4 kB / 1.079 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004122/0.6575, allocations: 52.02 kB / 1.079 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.6575, allocations: 4 kB / 1.079 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.6576, allocations: 7.984 kB / 1.079 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.6576, allocations: 4 kB / 1.08 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6576, allocations: 0 / 1.08 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.6586, allocations: 437.8 kB / 1.08 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.6588, allocations: 128.6 kB / 1.08 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.528e-05/0.6589, allocations: 12 kB / 1.08 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000445/0.6594, allocations: 19.97 kB / 1.08 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.631e-05/0.6595, allocations: 19.92 kB / 1.08 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/0.6595, allocations: 8 kB / 1.08 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003317/0.6599, allocations: 193.9 kB / 1.08 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of sort global known variables: time 7.01e-07/0.6599, allocations: 0 / 1.08 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000969/0.6609, allocations: 87.84 kB / 1.08 GB, free: 11.38 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.00259/0.6635, allocations: 1.079 MB / 1.081 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.6645, allocations: 189.2 kB / 1.082 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.6646, allocations: 0 / 1.082 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005034/0.6651, allocations: 112.2 kB / 1.082 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.6668, allocations: 122.9 kB / 1.082 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00619/0.673, allocations: 2.707 MB / 1.084 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/0.674, allocations: 0.7752 MB / 1.085 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003485/0.6744, allocations: 58.33 kB / 1.085 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.6746, allocations: 83.41 kB / 1.085 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of SimCode: time 1.403e-06/0.6747, allocations: 0 / 1.085 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.351/2.026, allocations: 7.855 MB / 1.093 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004521/2.026, allocations: 264.8 kB / 1.093 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.41/7.437, allocations: 4 kB / 1.093 GB, free: 14.12 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