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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.935/2.935, allocations: 497.2 MB / 0.7812 GB, free: 12.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 67.89 kB / 1.134 GB, free: 13.18 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087/1.089, allocations: 173.9 MB / 1.304 GB, free: 32.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01325/1.103, allocations: 14.91 MB / 1.319 GB, free: 21.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004/1.107, allocations: 3.744 MB / 1.322 GB, free: 18.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004274/1.107, allocations: 14.66 kB / 1.322 GB, free: 18.8 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004726/1.107, allocations: 179.2 kB / 1.322 GB, free: 18.68 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0008741/1.108, allocations: 415.6 kB / 1.323 GB, free: 18.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008147/1.109, allocations: 329.6 kB / 1.323 GB, free: 18.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007146/1.11, allocations: 0.7673 MB / 1.324 GB, free: 17.95 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003651/1.11, allocations: 244.9 kB / 1.324 GB, free: 17.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008274/1.111, allocations: 471.2 kB / 1.324 GB, free: 17.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/1.111, allocations: 229.5 kB / 1.325 GB, free: 17.51 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/1.111, allocations: 20.12 kB / 1.325 GB, free: 17.51 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004318/1.112, allocations: 242.1 kB / 1.325 GB, free: 17.42 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.542e-05/1.112, allocations: 74.77 kB / 1.325 GB, free: 17.38 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001119/1.112, allocations: 139.8 kB / 1.325 GB, free: 17.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005048/1.112, allocations: 434.9 kB / 1.326 GB, free: 17.13 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.112, allocations: 0 / 1.326 GB, free: 17.13 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.292e-06/1.112, allocations: 0 / 1.326 GB, free: 17.13 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.013e-06/1.112, allocations: 0 / 1.326 GB, free: 17.13 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.0007505/1.113, allocations: 0.625 MB / 1.326 GB, free: 16.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/1.113, allocations: 10.5 kB / 1.326 GB, free: 16.61 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.836e-05/1.113, allocations: 56.53 kB / 1.326 GB, free: 16.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.041e-05/1.113, allocations: 36.45 kB / 1.326 GB, free: 16.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/1.114, allocations: 328.8 kB / 1.327 GB, free: 16.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/1.114, allocations: 16.12 kB / 1.327 GB, free: 16.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/1.114, allocations: 24.03 kB / 1.327 GB, free: 16.26 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/1.114, allocations: 263 kB / 1.327 GB, free: 16.13 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/1.114, allocations: 7.984 kB / 1.327 GB, free: 16.12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/1.114, allocations: 4 kB / 1.327 GB, free: 16.12 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/1.114, allocations: 5.594 kB / 1.327 GB, free: 16.12 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/1.115, allocations: 178.9 kB / 1.327 GB, free: 16.08 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/1.116, allocations: 0.8347 MB / 1.328 GB, free: 15.47 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/1.116, allocations: 142.9 kB / 1.328 GB, free: 15.39 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/1.116, allocations: 87.47 kB / 1.328 GB, free: 15.36 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002474/1.116, allocations: 499.1 kB / 1.329 GB, free: 14.79 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/1.116, allocations: 33.34 kB / 1.329 GB, free: 14.75 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.763e-06/1.116, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0007059/1.117, allocations: 264.9 kB / 1.329 GB, free: 14.65 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/1.117, allocations: 77.11 kB / 1.329 GB, free: 14.56 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/1.117, allocations: 265 kB / 1.329 GB, free: 14.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/1.117, allocations: 29.7 kB / 1.329 GB, free: 14.38 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/1.117, allocations: 169.8 kB / 1.329 GB, free: 14.23 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/1.117, allocations: 48.36 kB / 1.329 GB, free: 14.19 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/1.118, allocations: 39.12 kB / 1.329 GB, free: 14.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.695e-05/1.118, allocations: 334.4 kB / 1.33 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/1.118, allocations: 59.77 kB / 1.33 GB, free: 13.83 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/1.118, allocations: 120.8 kB / 1.33 GB, free: 13.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/1.118, allocations: 176.7 kB / 1.33 GB, free: 13.67 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/1.118, allocations: 320 / 1.33 GB, free: 13.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004409/1.119, allocations: 213.6 kB / 1.33 GB, free: 13.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/1.119, allocations: 4.875 kB / 1.33 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/1.119, allocations: 5.344 kB / 1.33 GB, free: 13.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/1.119, allocations: 6.656 kB / 1.33 GB, free: 13.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/1.119, allocations: 54.56 kB / 1.33 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/1.119, allocations: 5.906 kB / 1.33 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/1.119, allocations: 31.58 kB / 1.33 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/1.119, allocations: 6.281 kB / 1.33 GB, free: 13.56 MB / 1.061 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.0001332/1.119, allocations: 153.2 kB / 1.331 GB, free: 13.42 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.543e-05/1.12, allocations: 28.09 kB / 1.331 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003351/1.12, allocations: 183.3 kB / 1.331 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/1.12, allocations: 2.062 kB / 1.331 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.12, allocations: 0.6875 kB / 1.331 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.12, allocations: 1.156 kB / 1.331 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009495/1.121, allocations: 0.6091 MB / 1.331 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.121, allocations: 1.625 kB / 1.331 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/1.121, allocations: 46.91 kB / 1.331 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/1.121, allocations: 2.312 kB / 1.331 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/1.121, allocations: 2.344 kB / 1.331 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/1.121, allocations: 5.625 kB / 1.331 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.121, allocations: 5.375 kB / 1.331 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006036/1.122, allocations: 445.7 kB / 1.332 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/1.122, allocations: 125 kB / 1.332 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/1.122, allocations: 5.141 kB / 1.332 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/1.122, allocations: 16.52 kB / 1.332 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.888e-05/1.122, allocations: 26.14 kB / 1.332 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/1.122, allocations: 5.594 kB / 1.332 GB, free: 12.4 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002163/1.122, allocations: 197.4 kB / 1.332 GB, free: 12.29 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.122, allocations: 0 / 1.332 GB, free: 12.29 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000553/1.123, allocations: 92.42 kB / 1.332 GB, free: 12.26 MB / 1.061 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.001185/1.124, allocations: 1.074 MB / 1.333 GB, free: 11.38 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000568/1.125, allocations: 178.1 kB / 1.334 GB, free: 11.33 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.125, allocations: 0.625 kB / 1.334 GB, free: 11.33 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002461/1.125, allocations: 104.2 kB / 1.334 GB, free: 11.3 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007999/1.126, allocations: 111 kB / 1.334 GB, free: 11.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/1.129, allocations: 2.639 MB / 1.336 GB, free: 9.441 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/1.13, allocations: 0.7786 MB / 1.337 GB, free: 8.734 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002227/1.13, allocations: 53.58 kB / 1.337 GB, free: 8.723 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/1.13, allocations: 87.98 kB / 1.337 GB, free: 8.66 MB / 1.061 GB Notification: Performance of SimCode: time 6.31e-07/1.13, allocations: 0 / 1.337 GB, free: 8.66 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03977/1.17, allocations: 8.163 MB / 1.345 GB, free: 7.672 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.895/10.06, allocations: 10.89 kB / 1.345 GB, free: 7.664 MB / 1.061 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_2/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: 16.585321363061666]