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.001161/0.001161, allocations: 77.09 kB / 20.65 MB, free: 3.852 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.001661/0.001661, allocations: 165 kB / 24.05 MB, free: 464 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 1.02/1.02, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.304/2.304, allocations: 429.5 MB / 0.6743 GB, free: 3.879 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.773e-06/1.773e-06, allocations: 0 / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.929e-05, allocations: 6.938 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.007339/0.007369, allocations: 6.591 MB / 0.8858 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001985/0.009353, allocations: 1.283 MB / 0.8871 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003927/0.009746, allocations: 27.75 kB / 0.8871 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004426/0.01019, allocations: 103.1 kB / 0.8872 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006703/0.01086, allocations: 274.4 kB / 0.8875 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007485/0.01161, allocations: 351.2 kB / 0.8878 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007114/0.01232, allocations: 0.7332 MB / 0.8885 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003375/0.01266, allocations: 211.9 kB / 0.8887 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005618/0.01322, allocations: 378.8 kB / 0.8891 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.01346, allocations: 187.4 kB / 0.8893 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.0135, allocations: 20 kB / 0.8893 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.01375, allocations: 99.84 kB / 0.8894 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.315e-05/0.01383, allocations: 83.66 kB / 0.8894 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.723e-05/0.01392, allocations: 99.77 kB / 0.8895 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004129/0.01433, allocations: 286.9 kB / 0.8898 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.01434, allocations: 8 kB / 0.8898 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.804e-06/0.01434, allocations: 0 / 0.8898 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.01434, allocations: 0 / 0.8898 GB, free: 11.32 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.0006583/0.015, allocations: 0.5969 MB / 0.8904 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.01504, allocations: 8.031 kB / 0.8904 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.411e-05/0.01513, allocations: 52.75 kB / 0.8905 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.01545, allocations: 267.4 kB / 0.8907 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.01547, allocations: 20.88 kB / 0.8907 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.0155, allocations: 24.38 kB / 0.8908 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.0158, allocations: 248.5 kB / 0.891 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.01581, allocations: 4.188 kB / 0.891 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.01583, allocations: 12.12 kB / 0.891 GB, free: 10 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.01584, allocations: 8 kB / 0.891 GB, free: 9.996 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.774e-05/0.01592, allocations: 49.45 kB / 0.8911 GB, free: 9.949 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007661/0.01669, allocations: 0.6763 MB / 0.8917 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.01681, allocations: 90.09 kB / 0.8918 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.375e-05/0.01686, allocations: 43.62 kB / 0.8919 GB, free: 9.074 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.847e-05/0.01696, allocations: 15.92 kB / 0.8919 GB, free: 9.059 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.01699, allocations: 41.39 kB / 0.8919 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 1.963e-06/0.01699, allocations: 0 / 0.8919 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0002333/0.01722, allocations: 105.5 kB / 0.892 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.01726, allocations: 85.05 kB / 0.8921 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.01742, allocations: 256.2 kB / 0.8923 GB, free: 8.531 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.01744, allocations: 33.7 kB / 0.8924 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.01756, allocations: 223 kB / 0.8926 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.01759, allocations: 43.62 kB / 0.8926 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.209e-05/0.01765, allocations: 47.36 kB / 0.8927 GB, free: 8.172 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.01778, allocations: 0.504 MB / 0.8932 GB, free: 7.656 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.781e-05/0.01781, allocations: 11.98 kB / 0.8932 GB, free: 7.645 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.01793, allocations: 236 kB / 0.8934 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.138e-05/0.01801, allocations: 78.36 kB / 0.8935 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01802, allocations: 3.938 kB / 0.8935 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001391/0.01816, allocations: 109.5 kB / 0.8936 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.01817, allocations: 4 kB / 0.8936 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01817, allocations: 0 / 0.8936 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.01819, allocations: 4 kB / 0.8936 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.01832, allocations: 43.84 kB / 0.8936 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.01832, allocations: 3.984 kB / 0.8936 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.574e-05/0.01839, allocations: 15.94 kB / 0.8936 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.0184, allocations: 8.312 kB / 0.8937 GB, free: 7.055 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.231e-05/0.0185, allocations: 168.6 kB / 0.8938 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.01854, allocations: 35.73 kB / 0.8939 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.01873, allocations: 118.2 kB / 0.894 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.01874, allocations: 4 kB / 0.894 GB, free: 6.727 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.01874, allocations: 3.938 kB / 0.894 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.01874, allocations: 3.984 kB / 0.894 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.01918, allocations: 472.8 kB / 0.8944 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.01918, allocations: 0 / 0.8944 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.688e-05/0.01928, allocations: 40.09 kB / 0.8945 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.01929, allocations: 7.938 kB / 0.8945 GB, free: 6.16 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.0193, allocations: 8 kB / 0.8945 GB, free: 6.152 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.0193, allocations: 4 kB / 0.8945 GB, free: 6.148 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.0193, allocations: 3.938 kB / 0.8945 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.01954, allocations: 421.7 kB / 0.8949 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.01959, allocations: 27.83 kB / 0.8949 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.01961, allocations: 15.92 kB / 0.8949 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.0197, allocations: 4 kB / 0.8949 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.01975, allocations: 27.91 kB / 0.895 GB, free: 5.621 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.01976, allocations: 8 kB / 0.895 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.705e-05/0.01984, allocations: 185.1 kB / 0.8951 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01984, allocations: 0 / 0.8951 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002961/0.02013, allocations: 75.78 kB / 0.8952 GB, free: 5.355 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.0002271/0.02036, allocations: 143.1 kB / 0.8954 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001593/0.02052, allocations: 81.8 kB / 0.8954 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.02052, allocations: 0 / 0.8954 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.369e-05/0.02058, allocations: 47.61 kB / 0.8955 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.02098, allocations: 76.83 kB / 0.8956 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008258/0.0218, allocations: 0.4989 MB / 0.896 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.362e-05/0.02187, allocations: 87.97 kB / 0.8961 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.963e-05/0.02195, allocations: 25.41 kB / 0.8961 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.02212, allocations: 146.1 kB / 0.8963 GB, free: 4.172 MB / 0.8542 GB Notification: Performance of SimCode: time 1.262e-06/0.02213, allocations: 0 / 0.8963 GB, free: 4.172 MB / 0.8542 GB Notification: Performance of Templates: time 0.006749/0.02887, allocations: 4.268 MB / 0.9005 GB, free: 15.99 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.138467166107148]