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.0009289/0.0009289, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009896/0.0009896, allocations: 165 kB / 23.02 MB, free: 1.547 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.015/1.015, allocations: 177.1 MB / 203.4 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] 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 2.032/2.032, allocations: 429.5 MB / 0.6732 GB, free: 4.07 MB / 0.6355 GB " [Timeout remaining time 177] 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.523e-06/1.523e-06, allocations: 0 / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.584e-05, allocations: 2.875 kB / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.007108/0.007134, allocations: 6.656 MB / 0.8846 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.008854, allocations: 1.301 MB / 0.8859 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.009089, allocations: 15.88 kB / 0.8859 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.009453, allocations: 111.1 kB / 0.886 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005691/0.01002, allocations: 274.4 kB / 0.8863 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006819/0.0107, allocations: 347.3 kB / 0.8866 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0006495/0.01135, allocations: 0.7332 MB / 0.8873 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003199/0.01167, allocations: 211.8 kB / 0.8875 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004617/0.01213, allocations: 374.9 kB / 0.8879 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.01236, allocations: 195.3 kB / 0.8881 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.01239, allocations: 20 kB / 0.8881 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.01259, allocations: 111.8 kB / 0.8882 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.394e-05/0.01266, allocations: 71.73 kB / 0.8883 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.092e-05/0.01276, allocations: 95.77 kB / 0.8884 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004048/0.01316, allocations: 287 kB / 0.8887 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.01316, allocations: 0 / 0.8887 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.463e-06/0.01317, allocations: 0 / 0.8887 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.01317, allocations: 3.938 kB / 0.8887 GB, free: 11.59 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.0007259/0.0139, allocations: 0.6047 MB / 0.8892 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.01394, allocations: 8.031 kB / 0.8893 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.269e-05/0.01404, allocations: 52.75 kB / 0.8893 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.01439, allocations: 268 kB / 0.8896 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.01441, allocations: 16.88 kB / 0.8896 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.01444, allocations: 24.38 kB / 0.8896 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.0148, allocations: 260.6 kB / 0.8898 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.01481, allocations: 4.125 kB / 0.8899 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.01483, allocations: 12.12 kB / 0.8899 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.01484, allocations: 8 kB / 0.8899 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.01496, allocations: 67.52 kB / 0.8899 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008196/0.01578, allocations: 0.7227 MB / 0.8906 GB, free: 9.434 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.01591, allocations: 94.16 kB / 0.8907 GB, free: 9.316 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.812e-05/0.01597, allocations: 35.36 kB / 0.8908 GB, free: 9.273 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.01609, allocations: 19.98 kB / 0.8908 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.01612, allocations: 41.39 kB / 0.8908 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.01612, allocations: 0 / 0.8908 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0002628/0.01638, allocations: 117.4 kB / 0.8909 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.01642, allocations: 81.05 kB / 0.891 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.01658, allocations: 260.3 kB / 0.8913 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.0166, allocations: 33.7 kB / 0.8913 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.0167, allocations: 219.1 kB / 0.8915 GB, free: 8.453 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.01673, allocations: 47.8 kB / 0.8915 GB, free: 8.406 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.01678, allocations: 39.36 kB / 0.8916 GB, free: 8.359 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.01694, allocations: 0.5118 MB / 0.8921 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-05/0.01698, allocations: 8 kB / 0.8921 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.01712, allocations: 240 kB / 0.8923 GB, free: 7.527 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.01723, allocations: 86.67 kB / 0.8924 GB, free: 7.422 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.01723, allocations: 4 kB / 0.8924 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001703/0.0174, allocations: 121.4 kB / 0.8925 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.01742, allocations: 8 kB / 0.8925 GB, free: 7.285 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.01743, allocations: 0 / 0.8925 GB, free: 7.285 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.01745, allocations: 11.88 kB / 0.8925 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.01759, allocations: 39.91 kB / 0.8926 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.0176, allocations: 0 / 0.8926 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.903e-05/0.01767, allocations: 19.92 kB / 0.8926 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.01769, allocations: 12.09 kB / 0.8926 GB, free: 7.203 MB / 0.8542 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.545e-05/0.01779, allocations: 160.6 kB / 0.8928 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.01783, allocations: 27.86 kB / 0.8928 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.01802, allocations: 135.2 kB / 0.8929 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.01803, allocations: 3.938 kB / 0.8929 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.01804, allocations: 0 / 0.8929 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.01804, allocations: 4 kB / 0.8929 GB, free: 6.867 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004638/0.01851, allocations: 0.5116 MB / 0.8934 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.01851, allocations: 4.031 kB / 0.8934 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.778e-05/0.01861, allocations: 39.91 kB / 0.8935 GB, free: 6.254 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.01861, allocations: 4 kB / 0.8935 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.01862, allocations: 0 / 0.8935 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.01863, allocations: 4.312 kB / 0.8935 GB, free: 6.246 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01863, allocations: 0 / 0.8935 GB, free: 6.246 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.01889, allocations: 433.6 kB / 0.8939 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.01894, allocations: 39.81 kB / 0.8939 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.01896, allocations: 4 kB / 0.8939 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.096e-05/0.01905, allocations: 15.98 kB / 0.8939 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.0191, allocations: 15.98 kB / 0.894 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.01912, allocations: 7.984 kB / 0.894 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.688e-05/0.0192, allocations: 185.1 kB / 0.8941 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.0192, allocations: 0 / 0.8941 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002834/0.01949, allocations: 71.78 kB / 0.8942 GB, free: 5.453 MB / 0.8542 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.0002389/0.01973, allocations: 151.1 kB / 0.8944 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001847/0.01991, allocations: 91.31 kB / 0.8944 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.01991, allocations: 0 / 0.8944 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.588e-05/0.01999, allocations: 51.97 kB / 0.8945 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.02039, allocations: 77.67 kB / 0.8946 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009075/0.02129, allocations: 0.4908 MB / 0.895 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.714e-05/0.02136, allocations: 103.9 kB / 0.8951 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.733e-05/0.02145, allocations: 41.52 kB / 0.8952 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.02149, allocations: 28.48 kB / 0.8952 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of SimCode: time 1.052e-06/0.02149, allocations: 0 / 0.8952 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of Templates: time 0.006133/0.02763, allocations: 3.677 MB / 0.8988 GB, free: 0.75 MB / 0.8542 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.655020177830011]