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.001813/0.001813, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002236/0.002236, allocations: 222.5 kB / 22.25 MB, free: 5.109 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 7.812 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 3.086/3.086, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.002099/0.002099, allocations: 69.5 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3209, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01724/0.3381, allocations: 13.84 MB / 1.377 GB, free: 200 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004866/0.343, allocations: 3.5 MB / 1.38 GB, free: 12.69 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002771/0.3433, allocations: 19.81 kB / 1.38 GB, free: 12.67 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004862/0.3438, allocations: 174.7 kB / 1.38 GB, free: 12.5 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0008982/0.3447, allocations: 410 kB / 1.381 GB, free: 12.09 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000847/0.3455, allocations: 360.2 kB / 1.381 GB, free: 11.75 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008751/0.3464, allocations: 0.7686 MB / 1.382 GB, free: 10.98 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003724/0.3468, allocations: 220.6 kB / 1.382 GB, free: 10.76 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009119/0.3477, allocations: 486 kB / 1.383 GB, free: 10.28 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002921/0.348, allocations: 215 kB / 1.383 GB, free: 10.07 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.348, allocations: 20 kB / 1.383 GB, free: 10.05 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003829/0.3484, allocations: 191.6 kB / 1.383 GB, free: 9.863 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.3485, allocations: 83.67 kB / 1.383 GB, free: 9.781 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.3486, allocations: 111.5 kB / 1.383 GB, free: 9.672 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005526/0.3492, allocations: 430.4 kB / 1.384 GB, free: 9.25 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.3492, allocations: 0 / 1.384 GB, free: 9.25 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.796e-06/0.3492, allocations: 8 kB / 1.384 GB, free: 9.242 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.3492, allocations: 0 / 1.384 GB, free: 9.242 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.0008224/0.35, allocations: 0.536 MB / 1.384 GB, free: 8.676 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.35, allocations: 8.031 kB / 1.384 GB, free: 8.668 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.922e-05/0.3501, allocations: 58.73 kB / 1.384 GB, free: 8.602 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.441e-05/0.3502, allocations: 32.75 kB / 1.384 GB, free: 8.57 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.3507, allocations: 261.4 kB / 1.385 GB, free: 8.289 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.3507, allocations: 20.81 kB / 1.385 GB, free: 8.27 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.3507, allocations: 24.38 kB / 1.385 GB, free: 8.246 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005536/0.3513, allocations: 312.7 kB / 1.385 GB, free: 7.914 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3513, allocations: 0 / 1.385 GB, free: 7.914 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.3513, allocations: 12 kB / 1.385 GB, free: 7.902 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.3513, allocations: 4 kB / 1.385 GB, free: 7.898 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004668/0.3518, allocations: 184.4 kB / 1.385 GB, free: 7.719 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.3529, allocations: 0.6928 MB / 1.386 GB, free: 6.98 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.3533, allocations: 141.1 kB / 1.386 GB, free: 6.824 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.3535, allocations: 89.64 kB / 1.386 GB, free: 6.73 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/0.3536, allocations: 47.91 kB / 1.386 GB, free: 6.684 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.3537, allocations: 34.56 kB / 1.386 GB, free: 6.641 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.3537, allocations: 0 / 1.386 GB, free: 6.641 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0007327/0.3544, allocations: 265.4 kB / 1.386 GB, free: 6.375 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.3545, allocations: 81.11 kB / 1.386 GB, free: 6.277 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.3547, allocations: 272.2 kB / 1.387 GB, free: 6 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.3548, allocations: 29.7 kB / 1.387 GB, free: 5.965 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.3549, allocations: 172.3 kB / 1.387 GB, free: 5.793 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.3549, allocations: 43.58 kB / 1.387 GB, free: 5.75 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.355, allocations: 37.7 kB / 1.387 GB, free: 5.707 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3551, allocations: 326.8 kB / 1.387 GB, free: 5.379 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.3553, allocations: 63.94 kB / 1.387 GB, free: 5.316 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.3556, allocations: 275.2 kB / 1.388 GB, free: 4.992 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.356, allocations: 176.1 kB / 1.388 GB, free: 4.805 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.356, allocations: 3.938 kB / 1.388 GB, free: 4.801 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004763/0.3565, allocations: 217.2 kB / 1.388 GB, free: 4.582 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3565, allocations: 10.03 kB / 1.388 GB, free: 4.574 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3565, allocations: 0 / 1.388 GB, free: 4.574 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3565, allocations: 7.938 kB / 1.388 GB, free: 4.566 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.3568, allocations: 51.88 kB / 1.388 GB, free: 4.516 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3568, allocations: 4 kB / 1.388 GB, free: 4.512 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.357, allocations: 35.95 kB / 1.388 GB, free: 4.477 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.357, allocations: 4 kB / 1.388 GB, free: 4.473 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.0001405/0.3571, allocations: 154.8 kB / 1.388 GB, free: 4.312 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.3572, allocations: 23.86 kB / 1.388 GB, free: 4.289 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003189/0.3575, allocations: 195.2 kB / 1.388 GB, free: 4.094 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3575, allocations: 0 / 1.388 GB, free: 4.094 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3575, allocations: 4 kB / 1.388 GB, free: 4.09 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3575, allocations: 0 / 1.388 GB, free: 4.09 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000794/0.3583, allocations: 0.5669 MB / 1.389 GB, free: 3.461 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3583, allocations: 0 / 1.389 GB, free: 3.461 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.3586, allocations: 44.39 kB / 1.389 GB, free: 3.418 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3586, allocations: 4 kB / 1.389 GB, free: 3.414 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.3586, allocations: 7.984 kB / 1.389 GB, free: 3.406 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.3586, allocations: 4 kB / 1.389 GB, free: 3.402 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3586, allocations: 4 kB / 1.389 GB, free: 3.398 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006186/0.3592, allocations: 446 kB / 1.389 GB, free: 2.934 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.686e-05/0.3593, allocations: 51.72 kB / 1.389 GB, free: 2.883 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.3593, allocations: 0 / 1.389 GB, free: 2.883 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.3595, allocations: 23.97 kB / 1.389 GB, free: 2.859 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.3596, allocations: 15.92 kB / 1.39 GB, free: 2.844 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.3596, allocations: 15.98 kB / 1.39 GB, free: 2.828 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001889/0.3598, allocations: 199 kB / 1.39 GB, free: 2.637 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3598, allocations: 0 / 1.39 GB, free: 2.637 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000406/0.3602, allocations: 87.77 kB / 1.39 GB, free: 2.551 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.001211/0.3614, allocations: 1.062 MB / 1.391 GB, free: 1.445 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004888/0.3619, allocations: 179.7 kB / 1.391 GB, free: 1.27 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3619, allocations: 0 / 1.391 GB, free: 1.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002946/0.3622, allocations: 112 kB / 1.391 GB, free: 1.16 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007554/0.363, allocations: 115.9 kB / 1.391 GB, free: 1.047 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/0.3664, allocations: 2.64 MB / 1.394 GB, free: 14.27 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.3666, allocations: 166.8 kB / 1.394 GB, free: 14.09 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001656/0.3668, allocations: 54.33 kB / 1.394 GB, free: 14.04 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.3669, allocations: 87.41 kB / 1.394 GB, free: 13.95 MB / 1.092 GB Notification: Performance of SimCode: time 4.51e-07/0.3669, allocations: 0 / 1.394 GB, free: 13.95 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03644/0.4033, allocations: 9.09 MB / 1.403 GB, free: 5.105 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.03, allocations: 5.469 kB / 1.403 GB, free: 5.102 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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] "Error: Could not read variable ram_m_flow.y in file Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv. Warning: Get data of variable ram_m_flow.y from file Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv failed! Error: Could not read variable massFlowRateMultiplier.port_a.m_flow in file Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv. Warning: Get data of variable massFlowRateMultiplier.port_a.m_flow from file Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv failed! Error: Could not read variable massFlowRateMultiplier.port_b.m_flow in file Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv. Warning: Get data of variable massFlowRateMultiplier.port_b.m_flow from file Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv failed! Error: Could not read variable massFlowRateMultiplier1.port_b.m_flow in file Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv. Warning: Get data of variable massFlowRateMultiplier1.port_b.m_flow from file Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.441752502229065]