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.001444/0.001444, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001757/0.001757, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.052/1.052, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.875/1.875, allocations: 377.9 MB / 0.6247 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.453e-06/1.453e-06, allocations: 0 / 0.8127 GB, free: 332 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.082e-05, allocations: 3.188 kB / 0.8127 GB, free: 328 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.006988/0.007009, allocations: 6.626 MB / 0.8192 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002149/0.009158, allocations: 1.317 MB / 0.8205 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000327/0.009485, allocations: 15.88 kB / 0.8205 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003989/0.009884, allocations: 111.1 kB / 0.8206 GB, free: 8.258 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0006769/0.01056, allocations: 280.2 kB / 0.8209 GB, free: 7.984 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007608/0.01132, allocations: 356.7 kB / 0.8212 GB, free: 7.637 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0008259/0.01215, allocations: 0.7654 MB / 0.822 GB, free: 6.867 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003841/0.01253, allocations: 238.4 kB / 0.8222 GB, free: 6.633 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005514/0.01308, allocations: 391.8 kB / 0.8226 GB, free: 6.25 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.01332, allocations: 187.4 kB / 0.8228 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.01335, allocations: 22.16 kB / 0.8228 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.01358, allocations: 111.8 kB / 0.8229 GB, free: 5.938 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.347e-05/0.01367, allocations: 75.67 kB / 0.823 GB, free: 5.863 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.753e-05/0.01376, allocations: 95.77 kB / 0.8231 GB, free: 5.77 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.01412, allocations: 287 kB / 0.8233 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.01413, allocations: 0 / 0.8233 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.01e-07/0.01413, allocations: 1.062 kB / 0.8233 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.01413, allocations: 0 / 0.8233 GB, free: 5.488 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.0008022/0.01494, allocations: 0.6251 MB / 0.8239 GB, free: 4.828 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.01497, allocations: 8.031 kB / 0.8239 GB, free: 4.82 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.49e-05/0.01504, allocations: 52.75 kB / 0.824 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.01535, allocations: 279.1 kB / 0.8243 GB, free: 4.477 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.01537, allocations: 17.38 kB / 0.8243 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.01539, allocations: 24.38 kB / 0.8243 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.01567, allocations: 249.8 kB / 0.8245 GB, free: 4.168 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.01568, allocations: 192 / 0.8245 GB, free: 4.168 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.0157, allocations: 16.72 kB / 0.8246 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.01571, allocations: 4 kB / 0.8246 GB, free: 4.148 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.478e-05/0.01578, allocations: 50.58 kB / 0.8246 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007403/0.01652, allocations: 0.6838 MB / 0.8253 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.01666, allocations: 82.09 kB / 0.8254 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.798e-05/0.01671, allocations: 43.48 kB / 0.8254 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.01682, allocations: 15.98 kB / 0.8254 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.01686, allocations: 45.33 kB / 0.8255 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 2.855e-06/0.01686, allocations: 0 / 0.8255 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.000259/0.01712, allocations: 105.5 kB / 0.8256 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.01717, allocations: 87.36 kB / 0.8256 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.01734, allocations: 264.2 kB / 0.8259 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.01736, allocations: 33.7 kB / 0.8259 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.0175, allocations: 227 kB / 0.8261 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.01753, allocations: 39.67 kB / 0.8262 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/0.0176, allocations: 44.36 kB / 0.8262 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.01778, allocations: 0.504 MB / 0.8267 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.788e-05/0.01782, allocations: 8 kB / 0.8267 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.01796, allocations: 238.2 kB / 0.8269 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.01807, allocations: 86.33 kB / 0.827 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.01807, allocations: 3.938 kB / 0.827 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001697/0.01824, allocations: 111.5 kB / 0.8271 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.01826, allocations: 4 kB / 0.8271 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.01826, allocations: 0 / 0.8271 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.01828, allocations: 4 kB / 0.8271 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.01843, allocations: 49.41 kB / 0.8272 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.01843, allocations: 0 / 0.8272 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.139e-05/0.01851, allocations: 15.98 kB / 0.8272 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.01854, allocations: 19.98 kB / 0.8272 GB, free: 1.188 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 0.0001169/0.01866, allocations: 160.6 kB / 0.8274 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.328e-05/0.01871, allocations: 23.86 kB / 0.8274 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.01893, allocations: 130.7 kB / 0.8275 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.01894, allocations: 0 / 0.8275 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.01895, allocations: 3.938 kB / 0.8275 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.01895, allocations: 4 kB / 0.8275 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005441/0.0195, allocations: 460.5 kB / 0.828 GB, free: 364 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.0195, allocations: 4.469 kB / 0.828 GB, free: 360 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.01961, allocations: 39.91 kB / 0.828 GB, free: 320 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.036e-06/0.01961, allocations: 7.938 kB / 0.828 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.01963, allocations: 11.98 kB / 0.828 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.01963, allocations: 4 kB / 0.828 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01963, allocations: 0 / 0.828 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.01995, allocations: 425.5 kB / 0.8284 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.02001, allocations: 47.72 kB / 0.8285 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.02003, allocations: 7.938 kB / 0.8285 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.967e-05/0.02013, allocations: 12 kB / 0.8285 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.02018, allocations: 15.97 kB / 0.8285 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.02019, allocations: 8 kB / 0.8285 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.786e-05/0.02028, allocations: 185.1 kB / 0.8287 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.02028, allocations: 0 / 0.8287 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003196/0.0206, allocations: 75.77 kB / 0.8288 GB, free: 15.49 MB / 0.7448 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.0002394/0.02084, allocations: 155 kB / 0.8289 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001591/0.02099, allocations: 72.06 kB / 0.829 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.021, allocations: 0 / 0.829 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.956e-05/0.02107, allocations: 51.59 kB / 0.829 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/0.02153, allocations: 105.5 kB / 0.8291 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008282/0.02235, allocations: 0.4986 MB / 0.8296 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.174e-05/0.02243, allocations: 96.16 kB / 0.8297 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.032e-05/0.02252, allocations: 22 kB / 0.8297 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.02269, allocations: 150.1 kB / 0.8299 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of SimCode: time 1.102e-06/0.02269, allocations: 0 / 0.8299 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of Templates: time 0.007059/0.02975, allocations: 4.548 MB / 0.8343 GB, free: 9.848 MB / 0.7448 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.200687019154429]