Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002186/0.002186, allocations: 189.4 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.672/2.672, allocations: 443.4 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.89 kB / 1.061 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9327/0.9347, allocations: 160.8 MB / 1.218 GB, free: 3.629 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01889/0.9536, allocations: 15.04 MB / 1.233 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005903/0.9595, allocations: 3.786 MB / 1.237 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000479/0.96, allocations: 19.81 kB / 1.237 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006254/0.9606, allocations: 166.7 kB / 1.237 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.9619, allocations: 429.9 kB / 1.237 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.9629, allocations: 350.4 kB / 1.238 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009431/0.9638, allocations: 0.7997 MB / 1.239 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004119/0.9642, allocations: 232.3 kB / 1.239 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007527/0.965, allocations: 390.4 kB / 1.239 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003409/0.9653, allocations: 242.9 kB / 1.239 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.9653, allocations: 20 kB / 1.239 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005363/0.9659, allocations: 243.5 kB / 1.24 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.966, allocations: 79.73 kB / 1.24 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.9662, allocations: 143.2 kB / 1.24 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006735/0.9668, allocations: 433.1 kB / 1.24 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9668, allocations: 0 / 1.24 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9668, allocations: 0 / 1.24 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.9668, allocations: 3.938 kB / 1.24 GB, free: 0.8516 MB / 0.9356 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.001001/0.9678, allocations: 0.6114 MB / 1.241 GB, free: 196 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.9679, allocations: 12.03 kB / 1.241 GB, free: 184 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.28e-05/0.968, allocations: 36.75 kB / 1.241 GB, free: 148 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006326/0.9686, allocations: 335.1 kB / 1.241 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.9686, allocations: 24.81 kB / 1.241 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.9687, allocations: 20.38 kB / 1.241 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005666/0.9692, allocations: 257.5 kB / 1.241 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.9692, allocations: 0 / 1.241 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.9693, allocations: 8 kB / 1.242 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.9693, allocations: 4 kB / 1.242 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.9698, allocations: 192.5 kB / 1.242 GB, free: 15.27 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.9711, allocations: 0.82 MB / 1.242 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.9715, allocations: 129.1 kB / 1.243 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.9717, allocations: 93.58 kB / 1.243 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004757/0.9721, allocations: 0.4949 MB / 1.243 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.9722, allocations: 38.56 kB / 1.243 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.9722, allocations: 0 / 1.243 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0007378/0.9729, allocations: 261.3 kB / 1.243 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.973, allocations: 81.11 kB / 1.244 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.9733, allocations: 268.2 kB / 1.244 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.9733, allocations: 29.7 kB / 1.244 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.9735, allocations: 168.3 kB / 1.244 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.9735, allocations: 47.58 kB / 1.244 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.187e-05/0.9736, allocations: 33.7 kB / 1.244 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.9738, allocations: 342.8 kB / 1.244 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.974, allocations: 64.12 kB / 1.244 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.9742, allocations: 117.9 kB / 1.245 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003952/0.9746, allocations: 172.2 kB / 1.245 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.9746, allocations: 0 / 1.245 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004918/0.9751, allocations: 213.2 kB / 1.245 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.9751, allocations: 8 kB / 1.245 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.9751, allocations: 0 / 1.245 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.9751, allocations: 3.984 kB / 1.245 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.9754, allocations: 52.05 kB / 1.245 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.9754, allocations: 4 kB / 1.245 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.9756, allocations: 35.81 kB / 1.245 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.9756, allocations: 4 kB / 1.245 GB, free: 11.52 MB / 0.9512 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.0001582/0.9758, allocations: 153.2 kB / 1.245 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.9758, allocations: 31.8 kB / 1.245 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/0.9762, allocations: 179.3 kB / 1.245 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.9762, allocations: 4.094 kB / 1.245 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.9762, allocations: 7.922 kB / 1.245 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.9762, allocations: 4 kB / 1.245 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008726/0.9771, allocations: 0.6068 MB / 1.246 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.9771, allocations: 48 / 1.246 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.9773, allocations: 60.05 kB / 1.246 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.9773, allocations: 0 / 1.246 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.9773, allocations: 8 kB / 1.246 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.9773, allocations: 7.938 kB / 1.246 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9773, allocations: 0 / 1.246 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000652/0.978, allocations: 445.8 kB / 1.246 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.9781, allocations: 120.9 kB / 1.247 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.9782, allocations: 12.06 kB / 1.247 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.9784, allocations: 19.98 kB / 1.247 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.9784, allocations: 27.84 kB / 1.247 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.9784, allocations: 4 kB / 1.247 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001993/0.9786, allocations: 195.1 kB / 1.247 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.9786, allocations: 0 / 1.247 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000433/0.9791, allocations: 91.75 kB / 1.247 GB, free: 9.445 MB / 0.9512 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.000492/0.9796, allocations: 195.8 kB / 1.247 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005186/0.9801, allocations: 179.7 kB / 1.247 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.9801, allocations: 4 kB / 1.247 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.9803, allocations: 107.8 kB / 1.247 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007899/0.9811, allocations: 119.8 kB / 1.248 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009659/0.9821, allocations: 0.5285 MB / 1.248 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.9826, allocations: 0.7753 MB / 1.249 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001524/0.9827, allocations: 50.2 kB / 1.249 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.9828, allocations: 27.42 kB / 1.249 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of SimCode: time 6.61e-07/0.9828, allocations: 0 / 1.249 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of Templates: time 0.01144/0.9942, allocations: 5.347 MB / 1.254 GB, free: 2.117 MB / 0.9512 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.261289356276393]