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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 106.8 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.554/2.554, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.89 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7341/0.7355, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01534/0.7509, allocations: 14.79 MB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004523/0.7554, allocations: 3.723 MB / 1.226 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003673/0.7558, allocations: 19.88 kB / 1.226 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004788/0.7564, allocations: 170.7 kB / 1.227 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0008372/0.7572, allocations: 398 kB / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008292/0.758, allocations: 326.5 kB / 1.227 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007799/0.7588, allocations: 0.7764 MB / 1.228 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004098/0.7593, allocations: 295.8 kB / 1.228 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006138/0.7599, allocations: 378.4 kB / 1.229 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.7602, allocations: 223 kB / 1.229 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.7602, allocations: 20 kB / 1.229 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004213/0.7606, allocations: 243.5 kB / 1.229 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.766e-05/0.7607, allocations: 63.77 kB / 1.229 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.7609, allocations: 151.2 kB / 1.229 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005165/0.7614, allocations: 420.6 kB / 1.23 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.7614, allocations: 0 / 1.23 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7614, allocations: 0 / 1.23 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.7614, allocations: 0 / 1.23 GB, free: 7.66 MB / 0.9512 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.0008056/0.7622, allocations: 0.6117 MB / 1.23 GB, free: 7 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.7623, allocations: 12.03 kB / 1.23 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.402e-05/0.7623, allocations: 32.56 kB / 1.23 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004669/0.7628, allocations: 327 kB / 1.231 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.7629, allocations: 20.81 kB / 1.231 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.7629, allocations: 20.38 kB / 1.231 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.7634, allocations: 257.5 kB / 1.231 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.7634, allocations: 0 / 1.231 GB, free: 6.293 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.7635, allocations: 15.98 kB / 1.231 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.7635, allocations: 11.94 kB / 1.231 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004762/0.764, allocations: 176.6 kB / 1.231 GB, free: 6.094 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.001158/0.7651, allocations: 0.8313 MB / 1.232 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.7654, allocations: 141.1 kB / 1.232 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.7657, allocations: 93.59 kB / 1.232 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003443/0.766, allocations: 0.4908 MB / 1.233 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.7661, allocations: 42.5 kB / 1.233 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.7661, allocations: 0 / 1.233 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0007859/0.7669, allocations: 257.3 kB / 1.233 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.7669, allocations: 81.11 kB / 1.233 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.7672, allocations: 267 kB / 1.233 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.7672, allocations: 29.7 kB / 1.233 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.7673, allocations: 168.3 kB / 1.234 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.7674, allocations: 39.39 kB / 1.234 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-05/0.7674, allocations: 41.7 kB / 1.234 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.7675, allocations: 334.8 kB / 1.234 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.7678, allocations: 55.95 kB / 1.234 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.768, allocations: 125.7 kB / 1.234 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.7684, allocations: 168.1 kB / 1.234 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7684, allocations: 4 kB / 1.234 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004985/0.7689, allocations: 213 kB / 1.235 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.769, allocations: 8 kB / 1.235 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.769, allocations: 0 / 1.235 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.769, allocations: 4 kB / 1.235 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.7693, allocations: 59.97 kB / 1.235 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.7693, allocations: 0 / 1.235 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.7695, allocations: 32.19 kB / 1.235 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.7695, allocations: 8 kB / 1.235 GB, free: 2.336 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.0001261/0.7696, allocations: 141.8 kB / 1.235 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.285e-05/0.7697, allocations: 27.66 kB / 1.235 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.77, allocations: 187.3 kB / 1.235 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.77, allocations: 0 / 1.235 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.77, allocations: 4 kB / 1.235 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.7701, allocations: 4 kB / 1.235 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007267/0.7708, allocations: 0.599 MB / 1.236 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.7708, allocations: 8.047 kB / 1.236 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.7711, allocations: 51.89 kB / 1.236 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.7711, allocations: 4 kB / 1.236 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.7711, allocations: 8 kB / 1.236 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.7711, allocations: 4.078 kB / 1.236 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7711, allocations: 7.938 kB / 1.236 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006018/0.7717, allocations: 435.9 kB / 1.236 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.687e-05/0.7718, allocations: 128.6 kB / 1.236 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.7719, allocations: 8 kB / 1.236 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.7721, allocations: 19.97 kB / 1.236 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.7722, allocations: 15.92 kB / 1.236 GB, free: 0.5742 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.7722, allocations: 8 kB / 1.236 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001691/0.7724, allocations: 190 kB / 1.236 GB, free: 392 kB / 0.9512 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7724, allocations: 4 kB / 1.236 GB, free: 388 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004323/0.7728, allocations: 91.83 kB / 1.236 GB, free: 296 kB / 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.0003895/0.7732, allocations: 203.3 kB / 1.237 GB, free: 88 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005311/0.7737, allocations: 175.8 kB / 1.237 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7738, allocations: 0 / 1.237 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00027/0.774, allocations: 103.9 kB / 1.237 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007979/0.7748, allocations: 121.8 kB / 1.237 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007729/0.7756, allocations: 0.5418 MB / 1.238 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.7759, allocations: 0.7675 MB / 1.238 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/0.776, allocations: 31.42 kB / 1.238 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of SimCode: time 2.6e-07/0.776, allocations: 4 kB / 1.238 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of Templates: time 0.006498/0.7825, allocations: 4.574 MB / 1.243 GB, free: 9.738 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches