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.0007136/0.0007136, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009887/0.001702, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006854/0.0006854, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008751/0.001561, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9146/0.9146, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08932/1.004, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.317/2.317, allocations: 447.1 MB / 0.675 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2402/2.558, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: 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_latest_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_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.601e-05, allocations: 6.25 kB / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01289/0.01291, allocations: 6.687 MB / 0.8255 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.005113/0.01802, allocations: 1.326 MB / 0.8267 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.01824, allocations: 15.88 kB / 0.8268 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.0185, allocations: 119.1 kB / 0.8269 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004982/0.019, allocations: 270.4 kB / 0.8271 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006402/0.01964, allocations: 335.3 kB / 0.8275 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0006776/0.02032, allocations: 0.7216 MB / 0.8282 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003323/0.02364, allocations: 226.4 kB / 0.8284 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004856/0.02413, allocations: 390.9 kB / 0.8287 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.02435, allocations: 179.4 kB / 0.8289 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.02438, allocations: 20 kB / 0.8289 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.02461, allocations: 115.8 kB / 0.829 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.246e-05/0.02468, allocations: 63.72 kB / 0.8291 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.259e-05/0.02477, allocations: 79.81 kB / 0.8292 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.0251, allocations: 251.1 kB / 0.8294 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.02511, allocations: 0 / 0.8294 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.51e-07/0.02511, allocations: 0 / 0.8294 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.329e-05/0.02513, allocations: 4 kB / 0.8294 GB, free: 7.691 MB / 0.8073 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.0006344/0.02576, allocations: 0.5425 MB / 0.83 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.02579, allocations: 8.031 kB / 0.83 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.228e-05/0.02586, allocations: 40.91 kB / 0.83 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.02616, allocations: 248.6 kB / 0.8302 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.02618, allocations: 20.88 kB / 0.8303 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.02622, allocations: 24.38 kB / 0.8303 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.02675, allocations: 241.7 kB / 0.8305 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.02676, allocations: 4.188 kB / 0.8305 GB, free: 6.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.02678, allocations: 16.11 kB / 0.8305 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.02679, allocations: 8 kB / 0.8305 GB, free: 6.477 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.527e-05/0.02687, allocations: 48.16 kB / 0.8306 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006616/0.02753, allocations: 0.5156 MB / 0.8311 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.02765, allocations: 122.7 kB / 0.8312 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.094e-05/0.02769, allocations: 24.55 kB / 0.8312 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.46e-05/0.02776, allocations: 19.98 kB / 0.8313 GB, free: 5.703 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.02779, allocations: 42.5 kB / 0.8313 GB, free: 5.652 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.624e-06/0.02779, allocations: 0 / 0.8313 GB, free: 5.652 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0001926/0.02798, allocations: 93.73 kB / 0.8314 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.02801, allocations: 81.05 kB / 0.8315 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.02814, allocations: 205 kB / 0.8317 GB, free: 5.242 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.02816, allocations: 33.7 kB / 0.8317 GB, free: 5.203 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/0.02823, allocations: 152.8 kB / 0.8318 GB, free: 5.051 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.02825, allocations: 35.66 kB / 0.8319 GB, free: 5.016 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.02831, allocations: 37.69 kB / 0.8319 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.895e-05/0.0284, allocations: 330.8 kB / 0.8322 GB, free: 4.641 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.7e-05/0.02843, allocations: 10.83 kB / 0.8322 GB, free: 4.629 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.02854, allocations: 232.1 kB / 0.8324 GB, free: 4.344 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.485e-05/0.02862, allocations: 79.5 kB / 0.8325 GB, free: 4.246 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.02862, allocations: 0 / 0.8325 GB, free: 4.246 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001252/0.02875, allocations: 98.02 kB / 0.8326 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.02876, allocations: 4 kB / 0.8326 GB, free: 4.137 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.02876, allocations: 0 / 0.8326 GB, free: 4.137 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.02878, allocations: 4.094 kB / 0.8326 GB, free: 4.133 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.02891, allocations: 43.97 kB / 0.8327 GB, free: 4.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.02892, allocations: 3.938 kB / 0.8327 GB, free: 4.086 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.608e-05/0.029, allocations: 23.88 kB / 0.8327 GB, free: 4.062 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.02901, allocations: 4 kB / 0.8327 GB, free: 4.059 MB / 0.8073 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 8.121e-05/0.02909, allocations: 124.6 kB / 0.8328 GB, free: 3.926 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.02914, allocations: 16.34 kB / 0.8328 GB, free: 3.91 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.0293, allocations: 104.1 kB / 0.8329 GB, free: 3.801 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.02931, allocations: 12.03 kB / 0.8329 GB, free: 3.789 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.02931, allocations: 7.922 kB / 0.833 GB, free: 3.781 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.02932, allocations: 4 kB / 0.833 GB, free: 3.777 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.02977, allocations: 0.4891 MB / 0.8334 GB, free: 3.246 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.02977, allocations: 0 / 0.8334 GB, free: 3.246 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.02988, allocations: 43.97 kB / 0.8335 GB, free: 3.203 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.02993, allocations: 35.7 kB / 0.8335 GB, free: 3.168 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.02993, allocations: 4 kB / 0.8335 GB, free: 3.164 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.02994, allocations: 12.12 kB / 0.8335 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.02995, allocations: 3.938 kB / 0.8335 GB, free: 3.148 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.02995, allocations: 3.938 kB / 0.8335 GB, free: 3.145 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.03016, allocations: 388.2 kB / 0.8339 GB, free: 2.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.03018, allocations: 11.94 kB / 0.8339 GB, free: 2.719 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.03031, allocations: 7.984 kB / 0.8339 GB, free: 2.711 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.03035, allocations: 19.92 kB / 0.8339 GB, free: 2.691 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.03037, allocations: 11.98 kB / 0.834 GB, free: 2.68 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.693e-05/0.03043, allocations: 62.78 kB / 0.834 GB, free: 2.617 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.03043, allocations: 4 kB / 0.834 GB, free: 2.613 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003137/0.03074, allocations: 75.83 kB / 0.8341 GB, free: 2.539 MB / 0.8073 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.0001898/0.03093, allocations: 116.3 kB / 0.8342 GB, free: 2.418 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001375/0.03107, allocations: 80.62 kB / 0.8343 GB, free: 2.336 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.03108, allocations: 8.281 kB / 0.8343 GB, free: 2.328 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.541e-05/0.03117, allocations: 61.62 kB / 0.8343 GB, free: 2.266 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.03169, allocations: 348.9 kB / 0.8347 GB, free: 1.871 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.03386, allocations: 0.5004 MB / 0.8352 GB, free: 1.32 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.392e-05/0.03391, allocations: 91.91 kB / 0.8353 GB, free: 1.211 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.639e-05/0.03397, allocations: 21.61 kB / 0.8353 GB, free: 1.188 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.03411, allocations: 113.3 kB / 0.8354 GB, free: 1.074 MB / 0.8073 GB Notification: Performance of SimCode: time 4.61e-07/0.03411, allocations: 0 / 0.8354 GB, free: 1.074 MB / 0.8073 GB Notification: Performance of Templates: time 0.005642/0.03975, allocations: 4.224 MB / 0.8395 GB, free: 12.94 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.08758734818548]