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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001828/0.001828, allocations: 110.8 kB / 16.41 MB, free: 6.492 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.002023/0.002023, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 474.5 MB / 0.7477 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 63.91 kB / 1.073 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7727/0.7747, allocations: 160.3 MB / 1.229 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01657/0.7913, allocations: 14.79 MB / 1.244 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005082/0.7964, allocations: 3.739 MB / 1.247 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004824/0.7969, allocations: 15.94 kB / 1.247 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005977/0.7976, allocations: 170.7 kB / 1.247 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.7988, allocations: 418 kB / 1.248 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009411/0.7997, allocations: 337.7 kB / 1.248 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008931/0.8006, allocations: 0.7765 MB / 1.249 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/0.8011, allocations: 292 kB / 1.249 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000725/0.8018, allocations: 386.4 kB / 1.25 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.8021, allocations: 219 kB / 1.25 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.8022, allocations: 24 kB / 1.25 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004785/0.8027, allocations: 235.5 kB / 1.25 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.76e-05/0.8028, allocations: 75.73 kB / 1.25 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.8029, allocations: 139.3 kB / 1.25 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006314/0.8036, allocations: 434.9 kB / 1.251 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.8036, allocations: 3.984 kB / 1.251 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.113e-06/0.8036, allocations: 0 / 1.251 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.8036, allocations: 0 / 1.251 GB, free: 4.926 MB / 0.9669 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.0008882/0.8045, allocations: 0.6075 MB / 1.251 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.8046, allocations: 8.031 kB / 1.251 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.078e-05/0.8046, allocations: 32.75 kB / 1.251 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004972/0.8051, allocations: 343.1 kB / 1.252 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.8052, allocations: 16.81 kB / 1.252 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.8052, allocations: 24.38 kB / 1.252 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/0.8058, allocations: 253.5 kB / 1.252 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.8058, allocations: 7.938 kB / 1.252 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.8058, allocations: 8 kB / 1.252 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.8058, allocations: 8 kB / 1.252 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004802/0.8063, allocations: 185.2 kB / 1.252 GB, free: 3.352 MB / 0.9669 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.001253/0.8076, allocations: 0.8316 MB / 1.253 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.8079, allocations: 133.1 kB / 1.253 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.8081, allocations: 97.58 kB / 1.253 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004364/0.8086, allocations: 0.4908 MB / 1.254 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.8086, allocations: 30.72 kB / 1.254 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.8086, allocations: 3.938 kB / 1.254 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.000799/0.8094, allocations: 269.3 kB / 1.254 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.8095, allocations: 81.09 kB / 1.254 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.8098, allocations: 263 kB / 1.254 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.8098, allocations: 29.7 kB / 1.254 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.81, allocations: 168.4 kB / 1.254 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.81, allocations: 51.58 kB / 1.254 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.604e-05/0.8101, allocations: 37.7 kB / 1.254 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.8102, allocations: 330.8 kB / 1.255 GB, free: 300 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.8104, allocations: 67.88 kB / 1.255 GB, free: 232 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.8107, allocations: 118 kB / 1.255 GB, free: 92 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004361/0.8111, allocations: 168.1 kB / 1.255 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.8112, allocations: 8 kB / 1.255 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005115/0.8117, allocations: 213.2 kB / 1.255 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.8117, allocations: 4 kB / 1.255 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.954e-06/0.8117, allocations: 4 kB / 1.255 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.8117, allocations: 0 / 1.255 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.812, allocations: 56.03 kB / 1.255 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.812, allocations: 0 / 1.255 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.8122, allocations: 35.86 kB / 1.255 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.8123, allocations: 4 kB / 1.255 GB, free: 15.59 MB / 0.9825 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.0001458/0.8124, allocations: 145.8 kB / 1.256 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.791e-05/0.8125, allocations: 27.8 kB / 1.256 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003261/0.8128, allocations: 191.2 kB / 1.256 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.8128, allocations: 4 kB / 1.256 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.8128, allocations: 384 / 1.256 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.8129, allocations: 3.938 kB / 1.256 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008196/0.8137, allocations: 0.6068 MB / 1.256 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.8137, allocations: 4.125 kB / 1.256 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.8139, allocations: 47.95 kB / 1.256 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.814, allocations: 0 / 1.256 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.814, allocations: 7.984 kB / 1.256 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.814, allocations: 7.938 kB / 1.256 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.814, allocations: 0 / 1.256 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006467/0.8146, allocations: 442 kB / 1.257 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.8148, allocations: 132.8 kB / 1.257 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.8148, allocations: 7.938 kB / 1.257 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.8151, allocations: 19.97 kB / 1.257 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.8151, allocations: 19.92 kB / 1.257 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.8151, allocations: 4 kB / 1.257 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001954/0.8153, allocations: 197.9 kB / 1.257 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8154, allocations: 0 / 1.257 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004399/0.8158, allocations: 87.77 kB / 1.257 GB, free: 13.53 MB / 0.9825 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.0004741/0.8163, allocations: 210.2 kB / 1.257 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005225/0.8168, allocations: 175.7 kB / 1.258 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8168, allocations: 0 / 1.258 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002783/0.8171, allocations: 111.8 kB / 1.258 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007871/0.8179, allocations: 124.7 kB / 1.258 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008878/0.8188, allocations: 0.5163 MB / 1.258 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.8192, allocations: 0.7753 MB / 1.259 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001556/0.8194, allocations: 54.19 kB / 1.259 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.8195, allocations: 27.38 kB / 1.259 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.8195, allocations: 0 / 1.259 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of Templates: time 0.01081/0.8303, allocations: 5.262 MB / 1.264 GB, free: 6.281 MB / 0.9825 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 -s gbode -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