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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 117.1 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.914/2.914, allocations: 0.5003 GB / 0.8026 GB, free: 6.73 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 63.91 kB / 1.165 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9227/0.9246, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01429/0.9389, allocations: 15.03 MB / 1.355 GB, free: 5.516 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004325/0.9432, allocations: 3.763 MB / 1.358 GB, free: 2.836 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004435/0.9436, allocations: 20.19 kB / 1.358 GB, free: 2.824 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000542/0.9442, allocations: 167.8 kB / 1.359 GB, free: 2.715 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.9452, allocations: 422.9 kB / 1.359 GB, free: 2.477 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000936/0.9462, allocations: 329 kB / 1.359 GB, free: 2.316 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009195/0.9471, allocations: 0.7708 MB / 1.36 GB, free: 1.973 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004188/0.9475, allocations: 241.9 kB / 1.36 GB, free: 1.867 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009421/0.9484, allocations: 475 kB / 1.361 GB, free: 1.648 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.9487, allocations: 230.2 kB / 1.361 GB, free: 1.547 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.86e-05/0.9487, allocations: 20.44 kB / 1.361 GB, free: 1.547 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004875/0.9492, allocations: 236.4 kB / 1.361 GB, free: 1.465 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.56e-05/0.9493, allocations: 76.08 kB / 1.361 GB, free: 1.422 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.9494, allocations: 140.1 kB / 1.361 GB, free: 1.34 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005934/0.95, allocations: 440.4 kB / 1.362 GB, free: 1.168 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.95, allocations: 3.938 kB / 1.362 GB, free: 1.164 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.332e-06/0.95, allocations: 0 / 1.362 GB, free: 1.164 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.95, allocations: 0 / 1.362 GB, free: 1.164 MB / 1.061 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.0007969/0.9508, allocations: 0.6145 MB / 1.362 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.9509, allocations: 9.656 kB / 1.362 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.829e-05/0.9509, allocations: 6 kB / 1.362 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.9509, allocations: 59.17 kB / 1.363 GB, free: 0.5938 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.869e-05/0.951, allocations: 37.31 kB / 1.363 GB, free: 0.5742 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.9514, allocations: 341.4 kB / 1.363 GB, free: 300 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.9515, allocations: 14.5 kB / 1.363 GB, free: 296 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.9515, allocations: 27.84 kB / 1.363 GB, free: 284 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005263/0.952, allocations: 254.2 kB / 1.363 GB, free: 168 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.952, allocations: 0 / 1.363 GB, free: 168 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.9521, allocations: 6.562 kB / 1.363 GB, free: 164 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.9521, allocations: 4.375 kB / 1.363 GB, free: 164 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004786/0.9526, allocations: 187.8 kB / 1.363 GB, free: 112 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.9538, allocations: 0.8293 MB / 1.364 GB, free: 15.51 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.9541, allocations: 136.8 kB / 1.364 GB, free: 15.43 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.9544, allocations: 90.22 kB / 1.364 GB, free: 15.39 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004621/0.9549, allocations: 0.4887 MB / 1.365 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.9549, allocations: 33.44 kB / 1.365 GB, free: 14.79 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/0.9549, allocations: 0 / 1.365 GB, free: 14.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0008271/0.9557, allocations: 270.4 kB / 1.365 GB, free: 14.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.9558, allocations: 79.3 kB / 1.365 GB, free: 14.59 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002871/0.9561, allocations: 264.5 kB / 1.366 GB, free: 14.45 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.9561, allocations: 30.95 kB / 1.366 GB, free: 14.41 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.9563, allocations: 162.7 kB / 1.366 GB, free: 14.27 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.9563, allocations: 52.7 kB / 1.366 GB, free: 14.23 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.091e-05/0.9564, allocations: 38.59 kB / 1.366 GB, free: 14.2 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.9565, allocations: 333.2 kB / 1.366 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.9567, allocations: 59.73 kB / 1.366 GB, free: 13.87 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/0.957, allocations: 130.6 kB / 1.366 GB, free: 13.79 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.9574, allocations: 169.2 kB / 1.366 GB, free: 13.71 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.9574, allocations: 7.938 kB / 1.366 GB, free: 13.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000525/0.958, allocations: 208.6 kB / 1.367 GB, free: 13.62 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.958, allocations: 8.094 kB / 1.367 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.958, allocations: 5.766 kB / 1.367 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.958, allocations: 2.312 kB / 1.367 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.9583, allocations: 54.59 kB / 1.367 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.9583, allocations: 1.25 kB / 1.367 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.9585, allocations: 39.56 kB / 1.367 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.9585, allocations: 7.312 kB / 1.367 GB, free: 13.59 MB / 1.076 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.0001508/0.9587, allocations: 153.5 kB / 1.367 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.298e-05/0.9588, allocations: 25.14 kB / 1.367 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/0.9591, allocations: 178.1 kB / 1.367 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.9591, allocations: 6.859 kB / 1.367 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.9591, allocations: 5.672 kB / 1.367 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.9591, allocations: 0.8438 kB / 1.367 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008406/0.9599, allocations: 0.5994 MB / 1.368 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.9599, allocations: 3.328 kB / 1.368 GB, free: 12.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.9602, allocations: 54.88 kB / 1.368 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.9602, allocations: 3.203 kB / 1.368 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.9602, allocations: 2.969 kB / 1.368 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.9602, allocations: 3.297 kB / 1.368 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.9602, allocations: 5.031 kB / 1.368 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006428/0.9609, allocations: 439.2 kB / 1.368 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.961, allocations: 121.5 kB / 1.368 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.961, allocations: 8.453 kB / 1.368 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.9612, allocations: 17.81 kB / 1.368 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.9613, allocations: 19.64 kB / 1.368 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.9613, allocations: 6.609 kB / 1.368 GB, free: 12.45 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000198/0.9615, allocations: 194.9 kB / 1.369 GB, free: 12.33 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9615, allocations: 0 / 1.369 GB, free: 12.33 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005068/0.962, allocations: 91.95 kB / 1.369 GB, free: 12.31 MB / 1.076 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.001221/0.9632, allocations: 1.062 MB / 1.37 GB, free: 11.43 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000532/0.9638, allocations: 175.7 kB / 1.37 GB, free: 11.38 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9638, allocations: 1.125 kB / 1.37 GB, free: 11.38 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000263/0.964, allocations: 98.59 kB / 1.37 GB, free: 11.36 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007923/0.9648, allocations: 117.7 kB / 1.37 GB, free: 11.32 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.9687, allocations: 2.638 MB / 1.373 GB, free: 9.496 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.9692, allocations: 0.7777 MB / 1.373 GB, free: 8.789 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002044/0.9694, allocations: 58.17 kB / 1.373 GB, free: 8.777 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.9695, allocations: 86.5 kB / 1.374 GB, free: 8.715 MB / 1.076 GB Notification: Performance of SimCode: time 5.71e-07/0.9695, allocations: 0 / 1.374 GB, free: 8.715 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04257/1.012, allocations: 8.172 MB / 1.381 GB, free: 7.734 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.4/9.412, allocations: 18.67 kB / 1.382 GB, free: 7.723 MB / 1.076 GB " [Timeout remaining time 290] (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 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.681404200033285]