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.001517/0.001517, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001414/0.001414, allocations: 211.2 kB / 23.03 MB, free: 4.863 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.076/3.076, allocations: 0.49 GB / 0.7959 GB, free: 35.37 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: translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram_m_flow.y|gaiMasFlo.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow|massFlowRateMultiplier1.port_b.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram_m_flow.y|gaiMasFlo.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow|massFlowRateMultiplier1.port_b.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") [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.002951/0.002951, allocations: 61.41 kB / 1.155 GB, free: 25.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3477, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01776/0.3654, allocations: 13.85 MB / 1.341 GB, free: 3.078 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005221/0.3706, allocations: 3.509 MB / 1.344 GB, free: 15.56 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003592/0.371, allocations: 19.81 kB / 1.344 GB, free: 15.54 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005339/0.3715, allocations: 178.6 kB / 1.344 GB, free: 15.37 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.3726, allocations: 414 kB / 1.345 GB, free: 14.96 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000935/0.3735, allocations: 337.8 kB / 1.345 GB, free: 14.63 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0009467/0.3744, allocations: 0.7763 MB / 1.346 GB, free: 13.86 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004114/0.3749, allocations: 224.7 kB / 1.346 GB, free: 13.63 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009972/0.3759, allocations: 493.9 kB / 1.346 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003167/0.3762, allocations: 207 kB / 1.347 GB, free: 12.95 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.3762, allocations: 20 kB / 1.347 GB, free: 12.93 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004025/0.3766, allocations: 195.6 kB / 1.347 GB, free: 12.73 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.3767, allocations: 71.69 kB / 1.347 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.3769, allocations: 119.4 kB / 1.347 GB, free: 12.55 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006002/0.3775, allocations: 422.4 kB / 1.347 GB, free: 12.13 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3775, allocations: 4 kB / 1.347 GB, free: 12.13 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3775, allocations: 0 / 1.347 GB, free: 12.13 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.3775, allocations: 0 / 1.347 GB, free: 12.13 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.0009164/0.3784, allocations: 0.5361 MB / 1.348 GB, free: 11.56 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3784, allocations: 12.03 kB / 1.348 GB, free: 11.55 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.981e-05/0.3785, allocations: 40.69 kB / 1.348 GB, free: 11.51 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/0.379, allocations: 257.4 kB / 1.348 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.379, allocations: 20.75 kB / 1.348 GB, free: 11.21 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.3791, allocations: 24.38 kB / 1.348 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006168/0.3797, allocations: 312.9 kB / 1.349 GB, free: 10.86 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3797, allocations: 0 / 1.349 GB, free: 10.86 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.3797, allocations: 12 kB / 1.349 GB, free: 10.85 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3798, allocations: 4 kB / 1.349 GB, free: 10.84 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004909/0.3802, allocations: 181.2 kB / 1.349 GB, free: 10.67 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.3814, allocations: 0.6574 MB / 1.349 GB, free: 9.977 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.3817, allocations: 133.1 kB / 1.35 GB, free: 9.828 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.382, allocations: 89.66 kB / 1.35 GB, free: 9.734 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.3821, allocations: 47.95 kB / 1.35 GB, free: 9.688 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.3822, allocations: 38.5 kB / 1.35 GB, free: 9.641 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.3822, allocations: 3.938 kB / 1.35 GB, free: 9.637 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0007857/0.383, allocations: 249.4 kB / 1.35 GB, free: 9.387 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.383, allocations: 81.05 kB / 1.35 GB, free: 9.289 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.3833, allocations: 217.1 kB / 1.35 GB, free: 9.066 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.3833, allocations: 37.64 kB / 1.35 GB, free: 9.023 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.3835, allocations: 176.3 kB / 1.35 GB, free: 8.848 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.3835, allocations: 43.64 kB / 1.35 GB, free: 8.805 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.001e-05/0.3836, allocations: 37.7 kB / 1.351 GB, free: 8.762 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3838, allocations: 326.8 kB / 1.351 GB, free: 8.434 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.384, allocations: 60.19 kB / 1.351 GB, free: 8.375 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/0.3843, allocations: 278.2 kB / 1.351 GB, free: 8.047 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.3847, allocations: 168.2 kB / 1.351 GB, free: 7.867 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3847, allocations: 0 / 1.351 GB, free: 7.867 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00051/0.3852, allocations: 213.3 kB / 1.352 GB, free: 7.652 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.3853, allocations: 8 kB / 1.352 GB, free: 7.645 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3853, allocations: 0 / 1.352 GB, free: 7.645 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3853, allocations: 4 kB / 1.352 GB, free: 7.641 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.3855, allocations: 47.95 kB / 1.352 GB, free: 7.594 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.3856, allocations: 12.02 kB / 1.352 GB, free: 7.582 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.3857, allocations: 27.88 kB / 1.352 GB, free: 7.555 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.3858, allocations: 8 kB / 1.352 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.0001393/0.3859, allocations: 137.8 kB / 1.352 GB, free: 7.402 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.386, allocations: 27.8 kB / 1.352 GB, free: 7.375 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.3863, allocations: 179.2 kB / 1.352 GB, free: 7.191 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.3863, allocations: 4 kB / 1.352 GB, free: 7.188 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3863, allocations: 3.984 kB / 1.352 GB, free: 7.184 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3863, allocations: 0 / 1.352 GB, free: 7.184 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007757/0.3871, allocations: 0.5287 MB / 1.352 GB, free: 6.605 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3871, allocations: 0 / 1.352 GB, free: 6.605 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.3874, allocations: 59.88 kB / 1.353 GB, free: 6.547 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3874, allocations: 0 / 1.353 GB, free: 6.547 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.3874, allocations: 4 kB / 1.353 GB, free: 6.543 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3874, allocations: 4 kB / 1.353 GB, free: 6.539 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3874, allocations: 128 / 1.353 GB, free: 6.539 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006973/0.3881, allocations: 441.9 kB / 1.353 GB, free: 6.078 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.038e-05/0.3882, allocations: 39.77 kB / 1.353 GB, free: 6.039 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.3882, allocations: 8.125 kB / 1.353 GB, free: 6.031 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.3884, allocations: 23.91 kB / 1.353 GB, free: 6.008 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.3885, allocations: 19.92 kB / 1.353 GB, free: 5.988 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.3885, allocations: 15.98 kB / 1.353 GB, free: 5.973 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001683/0.3887, allocations: 156.5 kB / 1.353 GB, free: 5.82 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3887, allocations: 0 / 1.353 GB, free: 5.82 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000475/0.3891, allocations: 87.75 kB / 1.353 GB, free: 5.734 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.0003777/0.3895, allocations: 202.9 kB / 1.353 GB, free: 5.527 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000521/0.39, allocations: 171.8 kB / 1.354 GB, free: 5.359 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.39, allocations: 0 / 1.354 GB, free: 5.359 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002707/0.3903, allocations: 108.2 kB / 1.354 GB, free: 5.254 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006798/0.391, allocations: 97.83 kB / 1.354 GB, free: 5.164 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009465/0.3919, allocations: 0.5459 MB / 1.354 GB, free: 4.566 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.3921, allocations: 170.7 kB / 1.355 GB, free: 4.383 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.3922, allocations: 23.44 kB / 1.355 GB, free: 4.359 MB / 1.045 GB Notification: Performance of SimCode: time 6.81e-07/0.3922, allocations: 0 / 1.355 GB, free: 4.359 MB / 1.045 GB Notification: Performance of Templates: time 0.007246/0.3994, allocations: 4.283 MB / 1.359 GB, free: 104 kB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 400] 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: 11.395454772049561]