Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001835/0.001835, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002335/0.002335, allocations: 219.4 kB / 23.04 MB, free: 5.078 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.548/1.548, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.852/2.852, allocations: 476.8 MB / 0.7715 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_11_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.002019/0.002019, allocations: 63.14 kB / 1.118 GB, free: 39.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4143, allocations: 169.9 MB / 1.284 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01905/0.4333, allocations: 15.15 MB / 1.299 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005364/0.4387, allocations: 3.788 MB / 1.303 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004316/0.4391, allocations: 15.88 kB / 1.303 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005605/0.4397, allocations: 174.7 kB / 1.303 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.4408, allocations: 429.9 kB / 1.303 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009471/0.4417, allocations: 359.2 kB / 1.304 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001001/0.4427, allocations: 0.7881 MB / 1.304 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004329/0.4431, allocations: 224.7 kB / 1.305 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000768/0.4439, allocations: 402.3 kB / 1.305 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003212/0.4442, allocations: 227 kB / 1.305 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/0.4443, allocations: 20 kB / 1.305 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005413/0.4448, allocations: 255.5 kB / 1.305 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.4449, allocations: 79.67 kB / 1.305 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.4451, allocations: 139.3 kB / 1.306 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000644/0.4457, allocations: 430.3 kB / 1.306 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.4457, allocations: 0 / 1.306 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.797e-06/0.4457, allocations: 4 kB / 1.306 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.4457, allocations: 0 / 1.306 GB, free: 5.121 MB / 0.9981 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.0009216/0.4467, allocations: 0.5439 MB / 1.307 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.4467, allocations: 8.031 kB / 1.307 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.477e-05/0.4467, allocations: 12.56 kB / 1.307 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.624e-05/0.4468, allocations: 54.73 kB / 1.307 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.4469, allocations: 40.7 kB / 1.307 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005718/0.4475, allocations: 257.5 kB / 1.307 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.4475, allocations: 20.81 kB / 1.307 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.4476, allocations: 28.12 kB / 1.307 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005513/0.4481, allocations: 253.3 kB / 1.307 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4481, allocations: 7.938 kB / 1.307 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.4481, allocations: 12 kB / 1.307 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.4482, allocations: 4 kB / 1.307 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004977/0.4487, allocations: 180.6 kB / 1.307 GB, free: 3.645 MB / 0.9981 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.001376/0.45, allocations: 0.8006 MB / 1.308 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.4504, allocations: 137.1 kB / 1.308 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.4506, allocations: 93.56 kB / 1.308 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/0.4508, allocations: 43.97 kB / 1.308 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.356e-05/0.4508, allocations: 34.56 kB / 1.308 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.4508, allocations: 0 / 1.308 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0008049/0.4516, allocations: 265.3 kB / 1.309 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/0.4517, allocations: 77.11 kB / 1.309 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.452, allocations: 264.2 kB / 1.309 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.452, allocations: 29.7 kB / 1.309 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.4522, allocations: 176.3 kB / 1.309 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/0.4522, allocations: 47.78 kB / 1.309 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.151e-05/0.4523, allocations: 37.7 kB / 1.309 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.4525, allocations: 330.8 kB / 1.31 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.4527, allocations: 59.94 kB / 1.31 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.4529, allocations: 121.3 kB / 1.31 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004224/0.4534, allocations: 180 kB / 1.31 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4534, allocations: 3.938 kB / 1.31 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005119/0.4539, allocations: 209.7 kB / 1.31 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.4539, allocations: 4 kB / 1.31 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4539, allocations: 4.094 kB / 1.31 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.4539, allocations: 4 kB / 1.31 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.4542, allocations: 59.81 kB / 1.31 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.4542, allocations: 0 / 1.31 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.4544, allocations: 31.86 kB / 1.31 GB, free: 492 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.4544, allocations: 8 kB / 1.31 GB, free: 484 kB / 0.9981 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.000165/0.4546, allocations: 154.2 kB / 1.31 GB, free: 320 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.855e-05/0.4547, allocations: 27.81 kB / 1.31 GB, free: 292 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003318/0.455, allocations: 183.3 kB / 1.311 GB, free: 104 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/0.455, allocations: 4 kB / 1.311 GB, free: 100 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.455, allocations: 0 / 1.311 GB, free: 100 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.455, allocations: 3.984 kB / 1.311 GB, free: 96 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008559/0.4559, allocations: 0.5826 MB / 1.311 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.4559, allocations: 3.938 kB / 1.311 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.4561, allocations: 47.94 kB / 1.311 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.4561, allocations: 4 kB / 1.311 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.4561, allocations: 4 kB / 1.311 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.4561, allocations: 0 / 1.311 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.4562, allocations: 12 kB / 1.311 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/0.4568, allocations: 440.3 kB / 1.312 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.762e-05/0.4569, allocations: 51.72 kB / 1.312 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.4569, allocations: 0 / 1.312 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.4571, allocations: 19.98 kB / 1.312 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.4572, allocations: 23.84 kB / 1.312 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.4572, allocations: 8 kB / 1.312 GB, free: 14.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001959/0.4574, allocations: 199.1 kB / 1.312 GB, free: 14.62 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4574, allocations: 4 kB / 1.312 GB, free: 14.62 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004473/0.4579, allocations: 87.77 kB / 1.312 GB, free: 14.54 MB / 1.014 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.001276/0.4591, allocations: 1.062 MB / 1.313 GB, free: 13.43 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005316/0.4597, allocations: 179.7 kB / 1.313 GB, free: 13.25 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4597, allocations: 0 / 1.313 GB, free: 13.25 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002718/0.4599, allocations: 104.6 kB / 1.313 GB, free: 13.15 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008292/0.4608, allocations: 117.1 kB / 1.313 GB, free: 13.04 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/0.4646, allocations: 2.641 MB / 1.316 GB, free: 10.27 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.465, allocations: 0.7753 MB / 1.317 GB, free: 9.465 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001796/0.4652, allocations: 54.27 kB / 1.317 GB, free: 9.41 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.4653, allocations: 87.41 kB / 1.317 GB, free: 9.324 MB / 1.014 GB Notification: Performance of SimCode: time 7.61e-07/0.4653, allocations: 0 / 1.317 GB, free: 9.324 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.4962, allocations: 8.357 MB / 1.325 GB, free: 1.195 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.15, allocations: 12.25 kB / 1.325 GB, free: 1.191 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.35720858903369]