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.00154/0.00154, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001713/0.001713, allocations: 216 kB / 22.24 MB, free: 4.855 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.321/1.321, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 179] 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.965/2.965, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 177] 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="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: 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.001974/0.001974, allocations: 67.55 kB / 1.186 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2936, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01785/0.3115, allocations: 13.84 MB / 1.377 GB, free: 240 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004934/0.3164, allocations: 3.508 MB / 1.38 GB, free: 12.72 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.3166, allocations: 19.81 kB / 1.38 GB, free: 12.7 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004557/0.3171, allocations: 170.7 kB / 1.381 GB, free: 12.53 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0008539/0.3179, allocations: 414 kB / 1.381 GB, free: 12.12 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007944/0.3187, allocations: 352.4 kB / 1.381 GB, free: 11.79 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000871/0.3196, allocations: 0.7764 MB / 1.382 GB, free: 11.01 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003701/0.32, allocations: 212.7 kB / 1.382 GB, free: 10.8 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008441/0.3208, allocations: 493.9 kB / 1.383 GB, free: 10.31 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002845/0.3211, allocations: 211 kB / 1.383 GB, free: 10.11 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.075e-05/0.3211, allocations: 20 kB / 1.383 GB, free: 10.09 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003573/0.3215, allocations: 199.5 kB / 1.383 GB, free: 9.891 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.903e-05/0.3216, allocations: 75.69 kB / 1.383 GB, free: 9.816 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.3217, allocations: 115.5 kB / 1.383 GB, free: 9.703 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005387/0.3223, allocations: 422.4 kB / 1.384 GB, free: 9.289 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3223, allocations: 0 / 1.384 GB, free: 9.289 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3223, allocations: 0 / 1.384 GB, free: 9.289 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.3223, allocations: 3.984 kB / 1.384 GB, free: 9.285 MB / 1.076 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.0008413/0.3231, allocations: 0.5439 MB / 1.384 GB, free: 8.711 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.3231, allocations: 12.03 kB / 1.384 GB, free: 8.699 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.766e-05/0.3232, allocations: 58.67 kB / 1.384 GB, free: 8.633 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.496e-05/0.3233, allocations: 32.75 kB / 1.384 GB, free: 8.602 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.3238, allocations: 261.4 kB / 1.385 GB, free: 8.32 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.3238, allocations: 16.81 kB / 1.385 GB, free: 8.305 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.3238, allocations: 24.38 kB / 1.385 GB, free: 8.281 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005515/0.3244, allocations: 308.7 kB / 1.385 GB, free: 7.953 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3244, allocations: 3.938 kB / 1.385 GB, free: 7.949 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.3244, allocations: 19.98 kB / 1.385 GB, free: 7.93 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.3244, allocations: 4 kB / 1.385 GB, free: 7.926 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005188/0.3249, allocations: 180.4 kB / 1.385 GB, free: 7.75 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.3262, allocations: 0.7006 MB / 1.386 GB, free: 7.004 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.3265, allocations: 133.1 kB / 1.386 GB, free: 6.855 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.3267, allocations: 81.66 kB / 1.386 GB, free: 6.77 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000168/0.3269, allocations: 43.97 kB / 1.386 GB, free: 6.727 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.3269, allocations: 34.5 kB / 1.386 GB, free: 6.684 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.3269, allocations: 8 kB / 1.386 GB, free: 6.676 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0007528/0.3277, allocations: 261.5 kB / 1.386 GB, free: 6.414 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.3277, allocations: 81.11 kB / 1.386 GB, free: 6.316 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002875/0.328, allocations: 264.2 kB / 1.387 GB, free: 6.047 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.3281, allocations: 33.7 kB / 1.387 GB, free: 6.008 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.3283, allocations: 168.3 kB / 1.387 GB, free: 5.84 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.3283, allocations: 51.72 kB / 1.387 GB, free: 5.789 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.3284, allocations: 33.7 kB / 1.387 GB, free: 5.75 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001966/0.3286, allocations: 334.8 kB / 1.387 GB, free: 5.414 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.3288, allocations: 59.94 kB / 1.387 GB, free: 5.355 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/0.3292, allocations: 280.2 kB / 1.388 GB, free: 5.023 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004433/0.3296, allocations: 176.4 kB / 1.388 GB, free: 4.836 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3296, allocations: 0 / 1.388 GB, free: 4.836 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005045/0.3301, allocations: 221.2 kB / 1.388 GB, free: 4.613 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3302, allocations: 4 kB / 1.388 GB, free: 4.609 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.3302, allocations: 7.984 kB / 1.388 GB, free: 4.602 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3302, allocations: 0 / 1.388 GB, free: 4.602 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.3305, allocations: 51.89 kB / 1.388 GB, free: 4.551 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3305, allocations: 11.92 kB / 1.388 GB, free: 4.539 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.3306, allocations: 27.97 kB / 1.388 GB, free: 4.512 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.3307, allocations: 8 kB / 1.388 GB, free: 4.504 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.0001519/0.3308, allocations: 146.9 kB / 1.388 GB, free: 4.352 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-05/0.3309, allocations: 23.86 kB / 1.388 GB, free: 4.328 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003112/0.3312, allocations: 195.2 kB / 1.388 GB, free: 4.133 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-05/0.3313, allocations: 8.016 kB / 1.388 GB, free: 4.125 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3313, allocations: 0 / 1.388 GB, free: 4.125 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3313, allocations: 0 / 1.388 GB, free: 4.125 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008408/0.3321, allocations: 0.5515 MB / 1.389 GB, free: 3.512 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3321, allocations: 8.031 kB / 1.389 GB, free: 3.504 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.3324, allocations: 55.88 kB / 1.389 GB, free: 3.449 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.3324, allocations: 4 kB / 1.389 GB, free: 3.445 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3324, allocations: 0 / 1.389 GB, free: 3.445 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3324, allocations: 4 kB / 1.389 GB, free: 3.441 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3324, allocations: 0 / 1.389 GB, free: 3.441 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007362/0.3331, allocations: 453.8 kB / 1.389 GB, free: 2.969 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-05/0.3332, allocations: 47.72 kB / 1.389 GB, free: 2.922 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.3332, allocations: 4 kB / 1.389 GB, free: 2.918 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.3335, allocations: 15.98 kB / 1.389 GB, free: 2.902 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.3335, allocations: 23.91 kB / 1.39 GB, free: 2.879 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.3335, allocations: 8.125 kB / 1.39 GB, free: 2.871 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001974/0.3337, allocations: 195.1 kB / 1.39 GB, free: 2.684 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3337, allocations: 4 kB / 1.39 GB, free: 2.68 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004097/0.3342, allocations: 95.75 kB / 1.39 GB, free: 2.586 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.001266/0.3354, allocations: 1.052 MB / 1.391 GB, free: 1.492 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005539/0.336, allocations: 175.7 kB / 1.391 GB, free: 1.32 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.336, allocations: 4 kB / 1.391 GB, free: 1.316 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.3362, allocations: 108.2 kB / 1.391 GB, free: 1.211 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007693/0.337, allocations: 129 kB / 1.391 GB, free: 1.094 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003674/0.3407, allocations: 2.642 MB / 1.394 GB, free: 14.31 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.3409, allocations: 166.8 kB / 1.394 GB, free: 14.13 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000162/0.341, allocations: 66.17 kB / 1.394 GB, free: 14.07 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.3411, allocations: 83.41 kB / 1.394 GB, free: 13.98 MB / 1.092 GB Notification: Performance of SimCode: time 4.31e-07/0.3411, allocations: 0 / 1.394 GB, free: 13.98 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03616/0.3773, allocations: 9.076 MB / 1.403 GB, free: 5.145 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.71, allocations: 7.688 kB / 1.403 GB, free: 5.141 MB / 1.092 GB " [Timeout remaining time 289] (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: 16.74030613899231]