Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0015/0.0015, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001615/0.001615, allocations: 221.7 kB / 22.25 MB, free: 5.254 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.354/1.354, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.925/2.925, allocations: 0.49 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_12_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",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.001887/0.001887, allocations: 70.17 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3129, allocations: 176.1 MB / 1.326 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01535/0.3283, allocations: 13.85 MB / 1.339 GB, free: 3.605 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004679/0.333, allocations: 3.501 MB / 1.343 GB, free: 100 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003317/0.3333, allocations: 23.81 kB / 1.343 GB, free: 76 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004998/0.3338, allocations: 178.6 kB / 1.343 GB, free: 15.9 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0009083/0.3347, allocations: 418 kB / 1.343 GB, free: 15.49 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008947/0.3356, allocations: 353.9 kB / 1.344 GB, free: 15.15 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0008501/0.3365, allocations: 0.7764 MB / 1.344 GB, free: 14.37 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003811/0.3368, allocations: 228.6 kB / 1.345 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009484/0.3378, allocations: 490 kB / 1.345 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003259/0.3381, allocations: 226.9 kB / 1.345 GB, free: 13.44 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.818e-05/0.3382, allocations: 20 kB / 1.345 GB, free: 13.42 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004099/0.3386, allocations: 191.6 kB / 1.346 GB, free: 13.23 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.3387, allocations: 79.67 kB / 1.346 GB, free: 13.16 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.3388, allocations: 111.5 kB / 1.346 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005919/0.3394, allocations: 430.4 kB / 1.346 GB, free: 12.62 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3394, allocations: 0 / 1.346 GB, free: 12.62 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3394, allocations: 0 / 1.346 GB, free: 12.62 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.3394, allocations: 4 kB / 1.346 GB, free: 12.62 MB / 1.045 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.0008809/0.3403, allocations: 0.5332 MB / 1.347 GB, free: 12.05 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3403, allocations: 8.031 kB / 1.347 GB, free: 12.05 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.423e-05/0.3404, allocations: 62.67 kB / 1.347 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.536e-05/0.3405, allocations: 40.7 kB / 1.347 GB, free: 11.94 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005238/0.341, allocations: 261.5 kB / 1.347 GB, free: 11.66 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.341, allocations: 12.81 kB / 1.347 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.3411, allocations: 24.38 kB / 1.347 GB, free: 11.62 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005877/0.3416, allocations: 316.7 kB / 1.347 GB, free: 11.29 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3417, allocations: 4 kB / 1.347 GB, free: 11.29 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.3417, allocations: 7.938 kB / 1.347 GB, free: 11.28 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.3417, allocations: 8 kB / 1.347 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004485/0.3421, allocations: 176.6 kB / 1.348 GB, free: 11.1 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.3433, allocations: 0.7114 MB / 1.348 GB, free: 10.34 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.3436, allocations: 141.1 kB / 1.348 GB, free: 10.18 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.3438, allocations: 85.64 kB / 1.348 GB, free: 10.09 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.344, allocations: 39.97 kB / 1.349 GB, free: 10.05 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.344, allocations: 42.56 kB / 1.349 GB, free: 10 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.344, allocations: 0 / 1.349 GB, free: 10 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0007548/0.3448, allocations: 253.6 kB / 1.349 GB, free: 9.75 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.3448, allocations: 77.11 kB / 1.349 GB, free: 9.656 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.3451, allocations: 272.2 kB / 1.349 GB, free: 9.375 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.3451, allocations: 29.7 kB / 1.349 GB, free: 9.34 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.3453, allocations: 176.3 kB / 1.349 GB, free: 9.164 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.3453, allocations: 47.58 kB / 1.349 GB, free: 9.117 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.3454, allocations: 33.7 kB / 1.349 GB, free: 9.078 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3455, allocations: 334.8 kB / 1.35 GB, free: 8.742 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.3457, allocations: 59.94 kB / 1.35 GB, free: 8.684 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.346, allocations: 276.2 kB / 1.35 GB, free: 8.355 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/0.3464, allocations: 176.4 kB / 1.35 GB, free: 8.168 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3464, allocations: 0 / 1.35 GB, free: 8.168 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005036/0.3469, allocations: 217.3 kB / 1.35 GB, free: 7.949 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3469, allocations: 4 kB / 1.35 GB, free: 7.945 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3469, allocations: 3.984 kB / 1.35 GB, free: 7.941 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.347, allocations: 4 kB / 1.35 GB, free: 7.938 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.3472, allocations: 59.88 kB / 1.35 GB, free: 7.879 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3472, allocations: 3.938 kB / 1.35 GB, free: 7.875 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.3474, allocations: 31.95 kB / 1.351 GB, free: 7.844 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.3474, allocations: 8 kB / 1.351 GB, free: 7.836 MB / 1.045 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.0001365/0.3476, allocations: 147.1 kB / 1.351 GB, free: 7.684 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.864e-05/0.3476, allocations: 31.75 kB / 1.351 GB, free: 7.652 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.348, allocations: 179.3 kB / 1.351 GB, free: 7.473 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.348, allocations: 4 kB / 1.351 GB, free: 7.469 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.348, allocations: 0 / 1.351 GB, free: 7.469 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.348, allocations: 0 / 1.351 GB, free: 7.469 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007718/0.3487, allocations: 0.571 MB / 1.351 GB, free: 6.836 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3487, allocations: 96 / 1.351 GB, free: 6.836 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.349, allocations: 51.89 kB / 1.351 GB, free: 6.785 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.349, allocations: 0 / 1.351 GB, free: 6.785 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.349, allocations: 11.98 kB / 1.352 GB, free: 6.773 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.349, allocations: 4 kB / 1.352 GB, free: 6.77 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.349, allocations: 3.938 kB / 1.352 GB, free: 6.766 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000589/0.3496, allocations: 438.1 kB / 1.352 GB, free: 6.309 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.273e-05/0.3497, allocations: 47.72 kB / 1.352 GB, free: 6.262 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.3497, allocations: 8 kB / 1.352 GB, free: 6.254 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.3499, allocations: 15.97 kB / 1.352 GB, free: 6.238 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.35, allocations: 23.86 kB / 1.352 GB, free: 6.215 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.35, allocations: 7.984 kB / 1.352 GB, free: 6.207 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001871/0.3502, allocations: 199.1 kB / 1.352 GB, free: 6.016 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3502, allocations: 0 / 1.352 GB, free: 6.016 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004276/0.3506, allocations: 87.77 kB / 1.352 GB, free: 5.93 MB / 1.045 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.001124/0.3518, allocations: 1.075 MB / 1.353 GB, free: 4.812 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004832/0.3522, allocations: 186 kB / 1.354 GB, free: 4.633 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.3522, allocations: 4 kB / 1.354 GB, free: 4.629 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.3525, allocations: 104.2 kB / 1.354 GB, free: 4.527 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007548/0.3532, allocations: 107 kB / 1.354 GB, free: 4.422 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.3565, allocations: 2.628 MB / 1.356 GB, free: 1.664 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.3567, allocations: 166.8 kB / 1.356 GB, free: 1.48 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.3568, allocations: 62.55 kB / 1.357 GB, free: 1.422 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.357, allocations: 87.5 kB / 1.357 GB, free: 1.336 MB / 1.045 GB Notification: Performance of SimCode: time 4.41e-07/0.357, allocations: 0 / 1.357 GB, free: 1.336 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.036/0.393, allocations: 9.163 MB / 1.366 GB, free: 8.426 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.77, allocations: 3.938 kB / 1.366 GB, free: 8.422 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.952979597001104]