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.001346/0.001346, allocations: 101.1 kB / 15.98 MB, free: 6.348 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.001385/0.001385, allocations: 196.8 kB / 16.91 MB, free: 6.184 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.303/1.303, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.616/2.616, allocations: 469.4 MB / 0.7423 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 66.31 kB / 0.9083 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.282, allocations: 159.1 MB / 1.064 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01566/0.2977, allocations: 14.7 MB / 1.078 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.4634/0.7612, allocations: 3.693 MB / 1.082 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003987/0.7616, allocations: 13.5 kB / 1.082 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004841/0.7621, allocations: 138 kB / 1.082 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0009722/0.7631, allocations: 374.1 kB / 1.082 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008562/0.764, allocations: 299.8 kB / 1.082 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0008107/0.7648, allocations: 0.7799 MB / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004001/0.7652, allocations: 282.1 kB / 1.084 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006552/0.7659, allocations: 382.5 kB / 1.084 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.7662, allocations: 233.1 kB / 1.084 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.7662, allocations: 24.62 kB / 1.084 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004464/0.7667, allocations: 235.2 kB / 1.084 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.151e-05/0.7668, allocations: 70.98 kB / 1.084 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.7669, allocations: 145.2 kB / 1.085 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004134/0.7673, allocations: 299 kB / 1.085 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.7673, allocations: 0 / 1.085 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7673, allocations: 0 / 1.085 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.7673, allocations: 0 / 1.085 GB, free: 10.23 MB / 0.8419 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.0007407/0.7681, allocations: 0.6098 MB / 1.085 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.7681, allocations: 9.219 kB / 1.085 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.441e-05/0.7682, allocations: 34.98 kB / 1.085 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.7686, allocations: 308.5 kB / 1.086 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.7686, allocations: 17.84 kB / 1.086 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.7686, allocations: 22.91 kB / 1.086 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/0.7692, allocations: 262.2 kB / 1.086 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.7692, allocations: 0.7188 kB / 1.086 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.7692, allocations: 13.97 kB / 1.086 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.7692, allocations: 5.219 kB / 1.086 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/0.7697, allocations: 180.5 kB / 1.086 GB, free: 9.449 MB / 0.8419 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.001101/0.7708, allocations: 0.8389 MB / 1.087 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.7711, allocations: 134.3 kB / 1.087 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.7713, allocations: 96.55 kB / 1.087 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002662/0.7716, allocations: 0.4916 MB / 1.088 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.7716, allocations: 36.22 kB / 1.088 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.7717, allocations: 0 / 1.088 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0007507/0.7724, allocations: 264.4 kB / 1.088 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.7724, allocations: 79.44 kB / 1.088 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.7727, allocations: 269 kB / 1.088 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.7728, allocations: 29.33 kB / 1.088 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.7729, allocations: 167.1 kB / 1.089 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.7729, allocations: 39.42 kB / 1.089 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/0.773, allocations: 41.89 kB / 1.089 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 6.624e-05/0.773, allocations: 334.8 kB / 1.089 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.7733, allocations: 60.36 kB / 1.089 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.7735, allocations: 118 kB / 1.089 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.7739, allocations: 177.8 kB / 1.089 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7739, allocations: 0 / 1.089 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004873/0.7744, allocations: 214 kB / 1.09 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.7744, allocations: 6.219 kB / 1.09 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.7744, allocations: 0.7188 kB / 1.09 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.7745, allocations: 2.094 kB / 1.09 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.7747, allocations: 57.94 kB / 1.09 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.7748, allocations: 1.938 kB / 1.09 GB, free: 7.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.775, allocations: 33.72 kB / 1.09 GB, free: 7.367 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.775, allocations: 8.078 kB / 1.09 GB, free: 7.367 MB / 0.8419 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.00011/0.7751, allocations: 141.4 kB / 1.09 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/0.7752, allocations: 32.72 kB / 1.09 GB, free: 7.234 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.7755, allocations: 187.4 kB / 1.09 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.7755, allocations: 3 kB / 1.09 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7755, allocations: 0.8125 kB / 1.09 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.7756, allocations: 1.922 kB / 1.09 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007084/0.7763, allocations: 0.6017 MB / 1.091 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.7763, allocations: 2 kB / 1.091 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.7765, allocations: 54.19 kB / 1.091 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.7766, allocations: 1.156 kB / 1.091 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.7766, allocations: 4.234 kB / 1.091 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.7766, allocations: 2.375 kB / 1.091 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7766, allocations: 2.562 kB / 1.091 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005494/0.7771, allocations: 450 kB / 1.091 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.488e-05/0.7772, allocations: 125.7 kB / 1.091 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.7773, allocations: 7.312 kB / 1.091 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.7775, allocations: 22.42 kB / 1.091 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.7776, allocations: 19.12 kB / 1.091 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.7776, allocations: 11.59 kB / 1.091 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001598/0.7778, allocations: 199.9 kB / 1.091 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7778, allocations: 1.188 kB / 1.091 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004642/0.7782, allocations: 86.81 kB / 1.091 GB, free: 6.34 MB / 0.8419 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.0004222/0.7787, allocations: 206.9 kB / 1.092 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005432/0.7792, allocations: 179.6 kB / 1.092 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7792, allocations: 0 / 1.092 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.7795, allocations: 108.4 kB / 1.092 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008577/0.7804, allocations: 125.3 kB / 1.092 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008106/0.7812, allocations: 0.6395 MB / 1.093 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.7814, allocations: 0.7723 MB / 1.093 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.676e-05/0.7815, allocations: 28.42 kB / 1.093 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.7815, allocations: 4 kB / 1.093 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of Templates: time 0.008586/0.7901, allocations: 4.56 MB / 1.098 GB, free: 4.5 MB / 0.8419 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