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.0008145/0.0008145, allocations: 80.88 kB / 20.75 MB, free: 3.578 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.0009224/0.0009224, allocations: 165 kB / 24.17 MB, free: 168 kB / 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.9736/0.9736, allocations: 177.2 MB / 204.6 MB, free: 5.145 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.842/1.842, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.533e-06/1.533e-06, allocations: 1.203 kB / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.586e-05, allocations: 5.609 kB / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.009268/0.009294, allocations: 6.648 MB / 0.7665 GB, free: 44 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002239/0.01153, allocations: 1.355 MB / 0.7678 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002657/0.0118, allocations: 20.62 kB / 0.7678 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.01213, allocations: 115 kB / 0.7679 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0005225/0.01265, allocations: 275.4 kB / 0.7682 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006417/0.01329, allocations: 351.2 kB / 0.7685 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006602/0.01396, allocations: 0.7722 MB / 0.7693 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003539/0.01431, allocations: 228.9 kB / 0.7695 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000512/0.01482, allocations: 395.8 kB / 0.7699 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.01503, allocations: 176.3 kB / 0.7701 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.01507, allocations: 20 kB / 0.7701 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.01528, allocations: 111.7 kB / 0.7702 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.477e-05/0.01535, allocations: 80.19 kB / 0.7703 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.853e-05/0.01544, allocations: 95.08 kB / 0.7703 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003556/0.0158, allocations: 287 kB / 0.7706 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.0158, allocations: 0 / 0.7706 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.463e-06/0.0158, allocations: 0 / 0.7706 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.01581, allocations: 0 / 0.7706 GB, free: 11.81 MB / 0.7292 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.0005246/0.01633, allocations: 0.4957 MB / 0.7711 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.01636, allocations: 8.031 kB / 0.7711 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/0.01642, allocations: 40.91 kB / 0.7711 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.01691, allocations: 260.1 kB / 0.7714 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.01693, allocations: 13.94 kB / 0.7714 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.01696, allocations: 24.38 kB / 0.7714 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.01723, allocations: 254.6 kB / 0.7717 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.01724, allocations: 192 / 0.7717 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.01725, allocations: 15.78 kB / 0.7717 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.01726, allocations: 8 kB / 0.7717 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.645e-05/0.01734, allocations: 53.55 kB / 0.7717 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005988/0.01794, allocations: 0.5031 MB / 0.7722 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.01804, allocations: 118 kB / 0.7724 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.01808, allocations: 32.53 kB / 0.7724 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.915e-05/0.01817, allocations: 20.12 kB / 0.7724 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.01819, allocations: 42.5 kB / 0.7724 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.863e-06/0.01819, allocations: 0 / 0.7724 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0001768/0.01837, allocations: 93.83 kB / 0.7725 GB, free: 9.73 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.0184, allocations: 81.05 kB / 0.7726 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.01852, allocations: 205 kB / 0.7728 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.01854, allocations: 36.92 kB / 0.7728 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.71e-05/0.0186, allocations: 152.8 kB / 0.773 GB, free: 9.223 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.01863, allocations: 39.64 kB / 0.773 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.01867, allocations: 37.69 kB / 0.7731 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.294e-05/0.01876, allocations: 330.8 kB / 0.7734 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.337e-05/0.01878, allocations: 10.83 kB / 0.7734 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.01888, allocations: 231.7 kB / 0.7736 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.545e-05/0.01896, allocations: 75.33 kB / 0.7737 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.01896, allocations: 0 / 0.7737 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001037/0.01906, allocations: 98.02 kB / 0.7738 GB, free: 8.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.01908, allocations: 4 kB / 0.7738 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01908, allocations: 80 / 0.7738 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.01909, allocations: 7.938 kB / 0.7738 GB, free: 8.309 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.01921, allocations: 43.91 kB / 0.7738 GB, free: 8.266 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.01921, allocations: 8.953 kB / 0.7738 GB, free: 8.258 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.902e-05/0.01927, allocations: 15.94 kB / 0.7738 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.01929, allocations: 5.812 kB / 0.7739 GB, free: 8.238 MB / 0.7292 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 7.698e-05/0.01936, allocations: 132.6 kB / 0.774 GB, free: 8.098 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.0194, allocations: 11.98 kB / 0.774 GB, free: 8.086 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.01954, allocations: 115.2 kB / 0.7741 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.01955, allocations: 4.656 kB / 0.7741 GB, free: 7.965 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.01955, allocations: 4.594 kB / 0.7741 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.01955, allocations: 4.031 kB / 0.7741 GB, free: 7.957 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.01996, allocations: 0.4942 MB / 0.7746 GB, free: 7.422 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.01997, allocations: 1 kB / 0.7746 GB, free: 7.422 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.843e-05/0.02006, allocations: 40.94 kB / 0.7746 GB, free: 7.383 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.02006, allocations: 4 kB / 0.7746 GB, free: 7.379 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.02007, allocations: 8.656 kB / 0.7747 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.02008, allocations: 8 kB / 0.7747 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.02008, allocations: 1.5 kB / 0.7747 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.02027, allocations: 397.5 kB / 0.775 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.02031, allocations: 31.84 kB / 0.7751 GB, free: 6.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.02033, allocations: 4.844 kB / 0.7751 GB, free: 6.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.479e-05/0.02041, allocations: 15.98 kB / 0.7751 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.02045, allocations: 13.17 kB / 0.7751 GB, free: 6.879 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.02046, allocations: 11.98 kB / 0.7751 GB, free: 6.867 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.639e-05/0.02051, allocations: 66.78 kB / 0.7752 GB, free: 6.801 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.02051, allocations: 1.219 kB / 0.7752 GB, free: 6.801 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002464/0.02076, allocations: 79.72 kB / 0.7753 GB, free: 6.723 MB / 0.7292 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.0002108/0.02097, allocations: 126.5 kB / 0.7754 GB, free: 6.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.02109, allocations: 77.16 kB / 0.7754 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.0211, allocations: 3.719 kB / 0.7755 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.754e-05/0.02115, allocations: 44.78 kB / 0.7755 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.02151, allocations: 89.98 kB / 0.7756 GB, free: 6.383 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007325/0.02224, allocations: 0.4935 MB / 0.7761 GB, free: 5.848 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.998e-05/0.0223, allocations: 96.11 kB / 0.7762 GB, free: 5.734 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.38e-05/0.02238, allocations: 31.61 kB / 0.7762 GB, free: 5.707 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.02254, allocations: 118.3 kB / 0.7763 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of SimCode: time 6.01e-07/0.02254, allocations: 0 / 0.7763 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of Templates: time 0.006532/0.02907, allocations: 4.36 MB / 0.7806 GB, free: 1.449 MB / 0.7292 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.045421510003507]