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.001412/0.001412, allocations: 88.72 kB / 19.44 MB, free: 356 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.001627/0.001627, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.543/1.543, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.233/3.233, allocations: 429.6 MB / 0.673 GB, free: 3.895 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.473e-06/1.473e-06, allocations: 0 / 0.8776 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.863e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.02103/0.02106, allocations: 13.73 MB / 0.891 GB, free: 8.809 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006068/0.02713, allocations: 3.46 MB / 0.8944 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005701/0.0277, allocations: 23.81 kB / 0.8944 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000737/0.02843, allocations: 174.7 kB / 0.8945 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.02987, allocations: 421.7 kB / 0.8949 GB, free: 4.727 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.03103, allocations: 347.2 kB / 0.8953 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001104/0.03213, allocations: 0.741 MB / 0.896 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004006/0.03253, allocations: 207.9 kB / 0.8962 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.03371, allocations: 0.5565 MB / 0.8967 GB, free: 2.883 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003111/0.03402, allocations: 183.4 kB / 0.8969 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.942e-05/0.03407, allocations: 20 kB / 0.8969 GB, free: 2.684 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004993/0.03457, allocations: 195.5 kB / 0.8971 GB, free: 2.492 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.03469, allocations: 71.69 kB / 0.8972 GB, free: 2.422 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.03485, allocations: 103.8 kB / 0.8973 GB, free: 2.32 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007508/0.0356, allocations: 426.6 kB / 0.8977 GB, free: 1.902 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.03561, allocations: 0 / 0.8977 GB, free: 1.902 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.393e-06/0.03561, allocations: 4 kB / 0.8977 GB, free: 1.898 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.03562, allocations: 4 kB / 0.8977 GB, free: 1.895 MB / 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.001062/0.03668, allocations: 0.5244 MB / 0.8982 GB, free: 1.34 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.03673, allocations: 12.03 kB / 0.8982 GB, free: 1.328 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.03687, allocations: 48.75 kB / 0.8983 GB, free: 1.281 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006265/0.0375, allocations: 269.2 kB / 0.8985 GB, free: 0.9922 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.03752, allocations: 12.88 kB / 0.8985 GB, free: 0.9805 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.916e-05/0.03757, allocations: 24.38 kB / 0.8986 GB, free: 0.957 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006439/0.03822, allocations: 314.1 kB / 0.8989 GB, free: 0.625 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.03823, allocations: 192 / 0.8989 GB, free: 0.625 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.03826, allocations: 8.125 kB / 0.8989 GB, free: 0.6172 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.03828, allocations: 12 kB / 0.8989 GB, free: 0.6055 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000505/0.03878, allocations: 180.4 kB / 0.8991 GB, free: 440 kB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.04033, allocations: 0.6582 MB / 0.8997 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.04067, allocations: 129.1 kB / 0.8998 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.04091, allocations: 93.64 kB / 0.8999 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001962/0.04111, allocations: 39.97 kB / 0.9 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/0.04116, allocations: 38.5 kB / 0.9 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.04116, allocations: 0 / 0.9 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.0008683/0.04203, allocations: 265.5 kB / 0.9002 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.0421, allocations: 77.11 kB / 0.9003 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.04236, allocations: 205.8 kB / 0.9005 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.04239, allocations: 33.7 kB / 0.9005 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.04256, allocations: 180.2 kB / 0.9007 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.04261, allocations: 39.84 kB / 0.9008 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.089e-05/0.04269, allocations: 41.66 kB / 0.9008 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.04289, allocations: 330.8 kB / 0.9011 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.0431, allocations: 55.94 kB / 0.9012 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003973/0.0435, allocations: 281.6 kB / 0.9014 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004332/0.04393, allocations: 168.4 kB / 0.9016 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.04394, allocations: 4 kB / 0.9016 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005468/0.04448, allocations: 209.3 kB / 0.9018 GB, free: 13.42 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.0445, allocations: 8.094 kB / 0.9018 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.04451, allocations: 7.922 kB / 0.9018 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.04454, allocations: 4 kB / 0.9018 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/0.04483, allocations: 59.88 kB / 0.9019 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.04484, allocations: 0 / 0.9019 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.04501, allocations: 23.88 kB / 0.9019 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.04505, allocations: 11.98 kB / 0.9019 GB, free: 13.3 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.0001749/0.04522, allocations: 145.8 kB / 0.902 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.04529, allocations: 23.91 kB / 0.9021 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/0.04564, allocations: 187.1 kB / 0.9022 GB, free: 12.94 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.04566, allocations: 7.984 kB / 0.9023 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.04566, allocations: 0 / 0.9023 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.04567, allocations: 0 / 0.9023 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008542/0.04652, allocations: 0.5168 MB / 0.9028 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.04652, allocations: 128 / 0.9028 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.04679, allocations: 63.88 kB / 0.9028 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.04679, allocations: 0 / 0.9028 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.04681, allocations: 4 kB / 0.9028 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.04681, allocations: 0 / 0.9028 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.04682, allocations: 4 kB / 0.9028 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007376/0.04755, allocations: 443.6 kB / 0.9033 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.893e-05/0.04764, allocations: 47.77 kB / 0.9033 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.04767, allocations: 8 kB / 0.9033 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.04788, allocations: 19.97 kB / 0.9033 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.04795, allocations: 15.92 kB / 0.9033 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.04798, allocations: 11.98 kB / 0.9034 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001507/0.04813, allocations: 149.2 kB / 0.9035 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.04813, allocations: 0 / 0.9035 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000471/0.0486, allocations: 99.7 kB / 0.9036 GB, free: 11.5 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.0004073/0.049, allocations: 198.9 kB / 0.9038 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005611/0.04957, allocations: 180 kB / 0.9039 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.04957, allocations: 0 / 0.9039 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002868/0.04985, allocations: 108 kB / 0.9041 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006402/0.05049, allocations: 68.75 kB / 0.9041 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009744/0.05147, allocations: 0.5027 MB / 0.9046 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.05168, allocations: 166.5 kB / 0.9048 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001425/0.05182, allocations: 49.47 kB / 0.9048 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.05187, allocations: 20.5 kB / 0.9048 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of SimCode: time 5.21e-07/0.05187, allocations: 0 / 0.9048 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of Templates: time 0.01042/0.0623, allocations: 4.333 MB / 0.9091 GB, free: 5.91 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 800] 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.473419592017308]