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.009168/0.009168, allocations: 100.8 kB / 15.73 MB, free: 5.98 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.001839/0.00184, allocations: 201.6 kB / 16.68 MB, free: 5.906 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.688/2.688, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 68.11 kB / 1.054 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9162/0.9177, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01907/0.9368, allocations: 14.78 MB / 1.222 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005536/0.9424, allocations: 3.727 MB / 1.225 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007337/0.9431, allocations: 15.88 kB / 1.225 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006943/0.944, allocations: 162.8 kB / 1.225 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.9454, allocations: 401.9 kB / 1.226 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.9465, allocations: 326.5 kB / 1.226 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.9478, allocations: 0.7842 MB / 1.227 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006084/0.9484, allocations: 282.8 kB / 1.227 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009919/0.9495, allocations: 390.3 kB / 1.228 GB, free: 8.645 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004278/0.9499, allocations: 227 kB / 1.228 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.135e-05/0.95, allocations: 20 kB / 1.228 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006273/0.9506, allocations: 231.5 kB / 1.228 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.9507, allocations: 67.77 kB / 1.228 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.951, allocations: 147.2 kB / 1.228 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007492/0.9517, allocations: 422.7 kB / 1.229 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.9517, allocations: 0 / 1.229 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9518, allocations: 4 kB / 1.229 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.9518, allocations: 0 / 1.229 GB, free: 7.547 MB / 0.9512 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.001131/0.9529, allocations: 0.6078 MB / 1.229 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.953, allocations: 12.02 kB / 1.229 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.199e-05/0.9531, allocations: 58.67 kB / 1.229 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.9532, allocations: 32.56 kB / 1.229 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/0.9538, allocations: 331 kB / 1.23 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.9538, allocations: 20.81 kB / 1.23 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.9538, allocations: 20.38 kB / 1.23 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00064/0.9545, allocations: 261.3 kB / 1.23 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.9545, allocations: 0 / 1.23 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.9545, allocations: 11.94 kB / 1.23 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.9546, allocations: 4 kB / 1.23 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004574/0.955, allocations: 180.6 kB / 1.23 GB, free: 5.918 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.001377/0.9564, allocations: 0.8313 MB / 1.231 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.9567, allocations: 145.1 kB / 1.231 GB, free: 4.859 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.957, allocations: 89.64 kB / 1.231 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004289/0.9574, allocations: 498.6 kB / 1.232 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.9575, allocations: 38.5 kB / 1.232 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.843e-06/0.9575, allocations: 7.938 kB / 1.232 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0007737/0.9583, allocations: 257.4 kB / 1.232 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.9583, allocations: 85.03 kB / 1.232 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.9586, allocations: 263 kB / 1.232 GB, free: 3.488 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.9587, allocations: 29.7 kB / 1.232 GB, free: 3.453 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.9588, allocations: 168.3 kB / 1.232 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.9589, allocations: 43.39 kB / 1.233 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.936e-05/0.9589, allocations: 45.61 kB / 1.233 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.9591, allocations: 330.8 kB / 1.233 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.9593, allocations: 63.94 kB / 1.233 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.9595, allocations: 114 kB / 1.233 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.9599, allocations: 176.1 kB / 1.233 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9599, allocations: 0 / 1.233 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004992/0.9604, allocations: 217 kB / 1.233 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.9605, allocations: 4 kB / 1.233 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.9605, allocations: 4.094 kB / 1.233 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.9605, allocations: 4 kB / 1.233 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.9608, allocations: 51.94 kB / 1.233 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.9608, allocations: 3.938 kB / 1.233 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.961, allocations: 31.81 kB / 1.234 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.961, allocations: 8 kB / 1.234 GB, free: 2.152 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.0001401/0.9612, allocations: 149.8 kB / 1.234 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/0.9612, allocations: 24.09 kB / 1.234 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003352/0.9616, allocations: 183.2 kB / 1.234 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.9616, allocations: 0 / 1.234 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.9616, allocations: 4 kB / 1.234 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.9616, allocations: 4 kB / 1.234 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007544/0.9624, allocations: 0.6029 MB / 1.234 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.9624, allocations: 0 / 1.234 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.9626, allocations: 55.89 kB / 1.235 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.9627, allocations: 0 / 1.235 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.9627, allocations: 7.984 kB / 1.235 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.9627, allocations: 0 / 1.235 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.9627, allocations: 8.125 kB / 1.235 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006015/0.9633, allocations: 449.6 kB / 1.235 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.9634, allocations: 120.7 kB / 1.235 GB, free: 444 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.9635, allocations: 0 / 1.235 GB, free: 444 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.9637, allocations: 23.97 kB / 1.235 GB, free: 420 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.9638, allocations: 15.97 kB / 1.235 GB, free: 404 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.9638, allocations: 11.98 kB / 1.235 GB, free: 392 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001838/0.964, allocations: 201.9 kB / 1.235 GB, free: 192 kB / 0.9512 GB Notification: Performance of sort global known variables: time 2.21e-07/0.964, allocations: 0 / 1.235 GB, free: 192 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004382/0.9644, allocations: 83.84 kB / 1.235 GB, free: 108 kB / 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.001269/0.9657, allocations: 1.063 MB / 1.236 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004968/0.9662, allocations: 179.7 kB / 1.237 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9662, allocations: 192 / 1.237 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.9665, allocations: 107.8 kB / 1.237 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007646/0.9672, allocations: 131 kB / 1.237 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/0.971, allocations: 2.636 MB / 1.239 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.9714, allocations: 0.7791 MB / 1.24 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001832/0.9716, allocations: 54.19 kB / 1.24 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.9717, allocations: 87.41 kB / 1.24 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.9717, allocations: 0 / 1.24 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/1.002, allocations: 8.219 MB / 1.248 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.319/9.322, allocations: 11.98 kB / 1.248 GB, free: 2.867 MB / 0.9669 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