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.00131/0.00131, allocations: 108.3 kB / 16.46 MB, free: 6.453 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.001556/0.001556, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.401/1.401, allocations: 230.6 MB / 252.8 MB, free: 8.957 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 3.054/3.054, allocations: 0.49 GB / 0.7916 GB, free: 33.54 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.001916/0.001916, allocations: 75.64 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3253, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.02012/0.3455, allocations: 15.01 MB / 1.335 GB, free: 4.258 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005763/0.3512, allocations: 3.765 MB / 1.339 GB, free: 496 kB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005192/0.3517, allocations: 23.81 kB / 1.339 GB, free: 472 kB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006281/0.3524, allocations: 170.7 kB / 1.339 GB, free: 300 kB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.3537, allocations: 422 kB / 1.34 GB, free: 15.88 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.3549, allocations: 327.1 kB / 1.34 GB, free: 15.56 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001195/0.3561, allocations: 0.7686 MB / 1.341 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005257/0.3566, allocations: 244.1 kB / 1.341 GB, free: 14.55 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.3578, allocations: 478 kB / 1.341 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004332/0.3582, allocations: 226.9 kB / 1.342 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.991e-05/0.3583, allocations: 20 kB / 1.342 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005856/0.3589, allocations: 239.6 kB / 1.342 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.359, allocations: 75.67 kB / 1.342 GB, free: 13.53 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.3592, allocations: 143.2 kB / 1.342 GB, free: 13.39 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007573/0.36, allocations: 434.3 kB / 1.343 GB, free: 12.96 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.36, allocations: 0 / 1.343 GB, free: 12.96 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.082e-06/0.36, allocations: 0 / 1.343 GB, free: 12.96 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.805e-05/0.36, allocations: 0 / 1.343 GB, free: 12.96 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.001127/0.3611, allocations: 0.6153 MB / 1.343 GB, free: 12.3 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.3612, allocations: 11.98 kB / 1.343 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.316e-05/0.3612, allocations: 54.73 kB / 1.343 GB, free: 12.22 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.51e-05/0.3613, allocations: 40.7 kB / 1.343 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005713/0.3619, allocations: 331.2 kB / 1.344 GB, free: 11.82 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.3619, allocations: 12.81 kB / 1.344 GB, free: 11.81 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.362, allocations: 28.36 kB / 1.344 GB, free: 11.78 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006078/0.3626, allocations: 265.3 kB / 1.344 GB, free: 11.51 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3626, allocations: 0 / 1.344 GB, free: 11.51 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.3626, allocations: 4 kB / 1.344 GB, free: 11.5 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.3626, allocations: 8 kB / 1.344 GB, free: 11.5 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005281/0.3632, allocations: 180.5 kB / 1.344 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.3646, allocations: 0.8354 MB / 1.345 GB, free: 10.42 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.3649, allocations: 141.1 kB / 1.345 GB, free: 10.26 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/0.3651, allocations: 85.64 kB / 1.345 GB, free: 10.17 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004623/0.3656, allocations: 498.6 kB / 1.346 GB, free: 9.574 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.3656, allocations: 38.56 kB / 1.346 GB, free: 9.527 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.3656, allocations: 0 / 1.346 GB, free: 9.527 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.000869/0.3665, allocations: 257.5 kB / 1.346 GB, free: 9.27 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.3666, allocations: 81.11 kB / 1.346 GB, free: 9.172 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.3669, allocations: 267 kB / 1.346 GB, free: 8.902 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.367, allocations: 33.7 kB / 1.346 GB, free: 8.863 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.3671, allocations: 172.3 kB / 1.346 GB, free: 8.691 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.3672, allocations: 47.78 kB / 1.346 GB, free: 8.645 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-05/0.3672, allocations: 37.7 kB / 1.346 GB, free: 8.602 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.3674, allocations: 330.8 kB / 1.347 GB, free: 8.27 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.3677, allocations: 63.94 kB / 1.347 GB, free: 8.207 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/0.368, allocations: 126.1 kB / 1.347 GB, free: 8.062 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/0.3685, allocations: 172.1 kB / 1.347 GB, free: 7.879 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3685, allocations: 0 / 1.347 GB, free: 7.879 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005583/0.369, allocations: 213.3 kB / 1.347 GB, free: 7.664 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3691, allocations: 8 kB / 1.347 GB, free: 7.656 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3691, allocations: 0 / 1.347 GB, free: 7.656 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.3691, allocations: 11.92 kB / 1.347 GB, free: 7.645 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.3694, allocations: 47.95 kB / 1.347 GB, free: 7.598 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.3694, allocations: 0 / 1.347 GB, free: 7.598 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.3696, allocations: 31.91 kB / 1.347 GB, free: 7.566 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.3696, allocations: 19.92 kB / 1.347 GB, free: 7.547 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.0001496/0.3698, allocations: 149.7 kB / 1.348 GB, free: 7.391 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.3699, allocations: 27.81 kB / 1.348 GB, free: 7.363 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003638/0.3702, allocations: 185.2 kB / 1.348 GB, free: 7.18 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.3702, allocations: 0 / 1.348 GB, free: 7.18 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3702, allocations: 3.984 kB / 1.348 GB, free: 7.176 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3702, allocations: 4 kB / 1.348 GB, free: 7.172 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009111/0.3712, allocations: 0.603 MB / 1.348 GB, free: 6.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3712, allocations: 0 / 1.348 GB, free: 6.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.3714, allocations: 51.88 kB / 1.348 GB, free: 6.449 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.3714, allocations: 4 kB / 1.348 GB, free: 6.445 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.3714, allocations: 4 kB / 1.348 GB, free: 6.441 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.3714, allocations: 4.125 kB / 1.348 GB, free: 6.438 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3715, allocations: 4 kB / 1.348 GB, free: 6.434 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006741/0.3721, allocations: 437.9 kB / 1.349 GB, free: 5.977 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.3723, allocations: 125 kB / 1.349 GB, free: 5.836 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.3723, allocations: 4 kB / 1.349 GB, free: 5.832 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.3725, allocations: 19.98 kB / 1.349 GB, free: 5.812 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.3726, allocations: 15.92 kB / 1.349 GB, free: 5.797 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.3726, allocations: 15.98 kB / 1.349 GB, free: 5.781 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001997/0.3728, allocations: 190 kB / 1.349 GB, free: 5.594 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3728, allocations: 4 kB / 1.349 GB, free: 5.59 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004625/0.3733, allocations: 87.77 kB / 1.349 GB, free: 5.504 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.001283/0.3746, allocations: 1.05 MB / 1.35 GB, free: 4.41 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005649/0.3751, allocations: 179.7 kB / 1.35 GB, free: 4.234 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3751, allocations: 0 / 1.35 GB, free: 4.234 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.3754, allocations: 104.1 kB / 1.351 GB, free: 4.133 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008341/0.3763, allocations: 115.5 kB / 1.351 GB, free: 4.02 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/0.38, allocations: 2.653 MB / 1.353 GB, free: 1.242 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.3805, allocations: 0.7753 MB / 1.354 GB, free: 452 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.3806, allocations: 50.19 kB / 1.354 GB, free: 400 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.3808, allocations: 91.41 kB / 1.354 GB, free: 308 kB / 1.045 GB Notification: Performance of SimCode: time 5.41e-07/0.3808, allocations: 0 / 1.354 GB, free: 308 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03667/0.4175, allocations: 8.115 MB / 1.362 GB, free: 8.367 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.951/8.368, allocations: 9.594 kB / 1.362 GB, free: 8.359 MB / 1.061 GB " [Timeout remaining time 292] (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: 14.712762817041948]