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.0009058/0.0009058, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008536/0.0008536, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.873/0.873, allocations: 177.1 MB / 203.5 MB, free: 5.672 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.708/1.708, allocations: 377.9 MB / 0.6229 GB, free: 8.621 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 3.938 kB / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.278e-05, allocations: 9.312 kB / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01061/0.01064, allocations: 13.74 MB / 0.9956 GB, free: 4.266 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.003135/0.01377, allocations: 3.503 MB / 0.999 GB, free: 0.75 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.01394, allocations: 19.81 kB / 0.999 GB, free: 0.7305 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004021/0.01434, allocations: 186.6 kB / 0.9992 GB, free: 0.5469 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005757/0.01492, allocations: 417.5 kB / 0.9996 GB, free: 140 kB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005293/0.01545, allocations: 364.8 kB / 1 GB, free: 15.79 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005453/0.01599, allocations: 0.7723 MB / 1.001 GB, free: 15.01 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002968/0.01629, allocations: 224.7 kB / 1.001 GB, free: 14.79 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005929/0.01688, allocations: 0.5643 MB / 1.001 GB, free: 14.23 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.01706, allocations: 199.2 kB / 1.002 GB, free: 14.03 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.01709, allocations: 24 kB / 1.002 GB, free: 14.01 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002327/0.01733, allocations: 191.6 kB / 1.002 GB, free: 13.82 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.256e-05/0.0174, allocations: 75.67 kB / 1.002 GB, free: 13.75 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.415e-05/0.01747, allocations: 99.77 kB / 1.002 GB, free: 13.65 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.0179, allocations: 434.6 kB / 1.002 GB, free: 13.22 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.0179, allocations: 4 kB / 1.002 GB, free: 13.22 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.774e-06/0.0179, allocations: 0 / 1.002 GB, free: 13.22 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.01791, allocations: 0 / 1.002 GB, free: 13.22 MB / 0.9636 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.0006672/0.01858, allocations: 0.5361 MB / 1.003 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.01862, allocations: 12.03 kB / 1.003 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.801e-05/0.01868, allocations: 36.75 kB / 1.003 GB, free: 12.61 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.01904, allocations: 265.1 kB / 1.003 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.01905, allocations: 16.88 kB / 1.003 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.01908, allocations: 20.38 kB / 1.003 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/0.01945, allocations: 314.1 kB / 1.004 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.01946, allocations: 192 / 1.004 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.01948, allocations: 12.12 kB / 1.004 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.01949, allocations: 8 kB / 1.004 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002661/0.01976, allocations: 176.6 kB / 1.004 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007057/0.02046, allocations: 0.6532 MB / 1.004 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.02066, allocations: 133.2 kB / 1.005 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.02078, allocations: 85.64 kB / 1.005 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.02089, allocations: 43.97 kB / 1.005 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.02092, allocations: 38.5 kB / 1.005 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.02092, allocations: 0 / 1.005 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12): time 0.0004293/0.02135, allocations: 265.2 kB / 1.005 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.02138, allocations: 81.11 kB / 1.005 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.02153, allocations: 221.9 kB / 1.005 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003007/0.02183, allocations: 25.7 kB / 1.005 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.852e-05/0.02192, allocations: 176.3 kB / 1.005 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.02194, allocations: 47.78 kB / 1.006 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.02198, allocations: 33.7 kB / 1.006 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.004e-05/0.02206, allocations: 330.8 kB / 1.006 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.851e-05/0.02216, allocations: 63.94 kB / 1.006 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.02233, allocations: 272.2 kB / 1.006 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.02254, allocations: 176.1 kB / 1.006 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.02254, allocations: 0 / 1.006 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002571/0.0228, allocations: 209.2 kB / 1.007 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.02281, allocations: 6.812 kB / 1.007 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.02282, allocations: 4 kB / 1.007 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.02283, allocations: 3.938 kB / 1.007 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.02297, allocations: 63.91 kB / 1.007 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.02297, allocations: 0 / 1.007 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.74e-05/0.02305, allocations: 23.97 kB / 1.007 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.02307, allocations: 8 kB / 1.007 GB, free: 8.645 MB / 0.9636 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 9.076e-05/0.02316, allocations: 145.8 kB / 1.007 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.02319, allocations: 19.86 kB / 1.007 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.02338, allocations: 191.2 kB / 1.007 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.02339, allocations: 7.938 kB / 1.007 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.02339, allocations: 0 / 1.007 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.0234, allocations: 0 / 1.007 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004347/0.02383, allocations: 0.5168 MB / 1.008 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.02384, allocations: 0 / 1.008 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.02395, allocations: 60.44 kB / 1.008 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.02395, allocations: 0 / 1.008 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.02396, allocations: 8 kB / 1.008 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.02396, allocations: 4 kB / 1.008 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.02396, allocations: 4 kB / 1.008 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.02428, allocations: 437.9 kB / 1.008 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.02433, allocations: 43.77 kB / 1.008 GB, free: 7.129 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.02435, allocations: 8 kB / 1.008 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.835e-05/0.02444, allocations: 15.98 kB / 1.008 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.0245, allocations: 15.97 kB / 1.008 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.02451, allocations: 8 kB / 1.008 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.292e-05/0.02459, allocations: 157.2 kB / 1.008 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.02459, allocations: 0 / 1.008 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002604/0.02485, allocations: 95.72 kB / 1.008 GB, free: 6.832 MB / 0.9636 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.0002464/0.0251, allocations: 206.8 kB / 1.009 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002845/0.02538, allocations: 183.7 kB / 1.009 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.02539, allocations: 192 / 1.009 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.02553, allocations: 99.88 kB / 1.009 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.02593, allocations: 89.53 kB / 1.009 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005838/0.02651, allocations: 0.522 MB / 1.009 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.02663, allocations: 166.8 kB / 1.01 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.02666, allocations: 24.5 kB / 1.01 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of SimCode: time 3.61e-07/0.02666, allocations: 0 / 1.01 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of Templates: time 0.00465/0.03131, allocations: 4.328 MB / 1.014 GB, free: 1.191 MB / 0.9636 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/jenkins/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: 6.92576311621815]