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.001822/0.001822, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.002009/0.002009, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.592/1.592, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 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.432/3.432, allocations: 429.5 MB / 0.6729 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: 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.563e-06/1.563e-06, allocations: 0 / 0.8774 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.21e-05, allocations: 3.062 kB / 0.8774 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.02147/0.0215, allocations: 15.21 MB / 0.8923 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006402/0.0279, allocations: 3.822 MB / 0.896 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003299/0.02823, allocations: 19.81 kB / 0.896 GB, free: 3.602 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.02883, allocations: 174.7 kB / 0.8962 GB, free: 3.43 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.02993, allocations: 417.6 kB / 0.8966 GB, free: 3.02 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009505/0.03088, allocations: 343.2 kB / 0.8969 GB, free: 2.684 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001012/0.03189, allocations: 0.741 MB / 0.8976 GB, free: 1.941 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004148/0.0323, allocations: 207.9 kB / 0.8978 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.03346, allocations: 0.5565 MB / 0.8984 GB, free: 1.18 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003394/0.0338, allocations: 191.4 kB / 0.8986 GB, free: 0.9922 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.515e-05/0.03386, allocations: 20 kB / 0.8986 GB, free: 0.9727 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004384/0.03429, allocations: 191.5 kB / 0.8988 GB, free: 0.7852 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.03442, allocations: 87.67 kB / 0.8989 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.03457, allocations: 95.77 kB / 0.8989 GB, free: 0.6055 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007256/0.03529, allocations: 434.6 kB / 0.8994 GB, free: 184 kB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.0353, allocations: 0 / 0.8994 GB, free: 184 kB / 0.8542 GB Notification: Performance of FrontEnd: time 1.552e-06/0.0353, allocations: 0 / 0.8994 GB, free: 184 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.03531, allocations: 0 / 0.8994 GB, free: 184 kB / 0.8542 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.001031/0.03634, allocations: 0.6398 MB / 0.9 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.03638, allocations: 8.031 kB / 0.9 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.0365, allocations: 48.75 kB / 0.9 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.03699, allocations: 264 kB / 0.9003 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.03701, allocations: 20.88 kB / 0.9003 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.633e-05/0.03706, allocations: 24.36 kB / 0.9003 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008358/0.0379, allocations: 307.8 kB / 0.9006 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.03791, allocations: 192 / 0.9006 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.03793, allocations: 8.125 kB / 0.9006 GB, free: 14.78 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.03795, allocations: 8 kB / 0.9006 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.03832, allocations: 144.5 kB / 0.9008 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.03965, allocations: 0.7696 MB / 0.9015 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.03993, allocations: 130.1 kB / 0.9017 GB, free: 13.67 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.0401, allocations: 67.33 kB / 0.9017 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/0.04029, allocations: 43.97 kB / 0.9018 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.04034, allocations: 45.33 kB / 0.9018 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.04034, allocations: 0 / 0.9018 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.0006414/0.04098, allocations: 193.6 kB / 0.902 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/0.04104, allocations: 81.05 kB / 0.9021 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.04135, allocations: 292.3 kB / 0.9023 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.04138, allocations: 29.7 kB / 0.9024 GB, free: 12.87 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.04159, allocations: 227 kB / 0.9026 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/0.04163, allocations: 43.66 kB / 0.9026 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.04172, allocations: 47.36 kB / 0.9027 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000303/0.04203, allocations: 0.5079 MB / 0.9032 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.04217, allocations: 39.97 kB / 0.9032 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.04251, allocations: 275.9 kB / 0.9035 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.04283, allocations: 138.3 kB / 0.9036 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.04283, allocations: 0 / 0.9036 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003949/0.04322, allocations: 161.4 kB / 0.9038 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.04324, allocations: 8.094 kB / 0.9038 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.04325, allocations: 4 kB / 0.9038 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.04327, allocations: 7.938 kB / 0.9038 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.04349, allocations: 39.91 kB / 0.9038 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.04349, allocations: 0 / 0.9038 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.04361, allocations: 16.2 kB / 0.9038 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.04365, allocations: 16.03 kB / 0.9039 GB, free: 11.24 MB / 0.8698 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.0001789/0.04383, allocations: 176.6 kB / 0.904 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.08e-05/0.04391, allocations: 39.83 kB / 0.9041 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.0442, allocations: 135.2 kB / 0.9042 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.04421, allocations: 7.922 kB / 0.9042 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.04422, allocations: 384 / 0.9042 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.04422, allocations: 4 kB / 0.9042 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008548/0.04508, allocations: 0.5507 MB / 0.9047 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.04509, allocations: 4 kB / 0.9047 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.04527, allocations: 39.91 kB / 0.9048 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.04528, allocations: 4.125 kB / 0.9048 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.04529, allocations: 8 kB / 0.9048 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.0453, allocations: 4 kB / 0.9048 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.0453, allocations: 0 / 0.9048 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006187/0.04592, allocations: 481.5 kB / 0.9053 GB, free: 9.695 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.506e-05/0.04601, allocations: 47.77 kB / 0.9053 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.04604, allocations: 4 kB / 0.9053 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.04621, allocations: 15.98 kB / 0.9053 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.04627, allocations: 15.98 kB / 0.9053 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.0463, allocations: 11.98 kB / 0.9053 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001874/0.04649, allocations: 201.1 kB / 0.9055 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.1e-08/0.04649, allocations: 0 / 0.9055 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004353/0.04692, allocations: 95.64 kB / 0.9056 GB, free: 9.312 MB / 0.8698 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.0003892/0.04731, allocations: 198.9 kB / 0.9058 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004099/0.04772, allocations: 134.4 kB / 0.9059 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.04772, allocations: 4 kB / 0.9059 GB, free: 8.969 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.04793, allocations: 79.58 kB / 0.906 GB, free: 8.887 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006411/0.04857, allocations: 79.66 kB / 0.9061 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009361/0.0495, allocations: 0.5062 MB / 0.9066 GB, free: 8.254 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.04969, allocations: 154.5 kB / 0.9067 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.04982, allocations: 41.39 kB / 0.9068 GB, free: 8.043 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.04987, allocations: 28.48 kB / 0.9068 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of SimCode: time 6.61e-07/0.04988, allocations: 0 / 0.9068 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of Templates: time 0.0109/0.06077, allocations: 4.311 MB / 0.911 GB, free: 3.797 MB / 0.8698 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.771426495048217]