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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001019/0.001019, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001275/0.001275, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 223.3 MB / 240 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.986/2.986, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.000357, allocations: 8.594 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3594, allocations: 159.6 MB / 1.058 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01492/0.3744, allocations: 13.52 MB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004421/0.3788, allocations: 3.484 MB / 1.075 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003977/0.3793, allocations: 11.94 kB / 1.075 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004595/0.3797, allocations: 119.1 kB / 1.075 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008567/0.3806, allocations: 342.3 kB / 1.075 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007971/0.3814, allocations: 267.6 kB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009365/0.3824, allocations: 0.9246 MB / 1.076 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000339/0.3827, allocations: 202.1 kB / 1.076 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005761/0.3833, allocations: 322.5 kB / 1.077 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.3836, allocations: 199 kB / 1.077 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.3836, allocations: 8 kB / 1.077 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.384, allocations: 151.6 kB / 1.077 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.3841, allocations: 55.81 kB / 1.077 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.724e-05/0.3841, allocations: 73.52 kB / 1.077 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.3845, allocations: 279.6 kB / 1.077 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.3845, allocations: 0 / 1.077 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3845, allocations: 3.938 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.3845, allocations: 0 / 1.077 GB, free: 1.34 MB / 0.8262 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.0007761/0.3853, allocations: 0.5573 MB / 1.078 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3853, allocations: 8.031 kB / 1.078 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.729e-05/0.3854, allocations: 31.62 kB / 1.078 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.3858, allocations: 305.8 kB / 1.078 GB, free: 368 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.3858, allocations: 16.44 kB / 1.078 GB, free: 352 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.3859, allocations: 20 kB / 1.078 GB, free: 332 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005261/0.3864, allocations: 269.4 kB / 1.079 GB, free: 48 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3864, allocations: 0 / 1.079 GB, free: 48 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.3865, allocations: 8 kB / 1.079 GB, free: 40 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.3865, allocations: 4 kB / 1.079 GB, free: 36 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004683/0.3869, allocations: 204.5 kB / 1.079 GB, free: 15.84 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.001183/0.3881, allocations: 0.851 MB / 1.08 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.3884, allocations: 149.1 kB / 1.08 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.3887, allocations: 101.6 kB / 1.08 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003533/0.389, allocations: 0.4986 MB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.3891, allocations: 30.56 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.3891, allocations: 3.938 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0007587/0.3898, allocations: 297.3 kB / 1.081 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.3899, allocations: 81.09 kB / 1.081 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.3902, allocations: 263 kB / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.3902, allocations: 33.7 kB / 1.081 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.3903, allocations: 168.2 kB / 1.081 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.3904, allocations: 39.45 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.3904, allocations: 0 / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3905, allocations: 338.8 kB / 1.082 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.3907, allocations: 71.94 kB / 1.082 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.3909, allocations: 133.9 kB / 1.082 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.3911, allocations: 87.89 kB / 1.082 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3912, allocations: 0 / 1.082 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004593/0.3916, allocations: 229.2 kB / 1.082 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3917, allocations: 8 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3917, allocations: 0 / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3917, allocations: 4 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.392, allocations: 64.03 kB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.392, allocations: 4 kB / 1.082 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.3922, allocations: 47.75 kB / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.3922, allocations: 4 kB / 1.082 GB, free: 12.08 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.3924, allocations: 145.8 kB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/0.3924, allocations: 27.72 kB / 1.082 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.3927, allocations: 187.9 kB / 1.083 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.3928, allocations: 4 kB / 1.083 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3928, allocations: 4 kB / 1.083 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.3928, allocations: 4.031 kB / 1.083 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007723/0.3936, allocations: 0.5952 MB / 1.083 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.3936, allocations: 0 / 1.083 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.3938, allocations: 68.02 kB / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3939, allocations: 0 / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.3939, allocations: 7.984 kB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/0.3939, allocations: 4.438 kB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.3939, allocations: 3.938 kB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006182/0.3945, allocations: 471.8 kB / 1.084 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.3946, allocations: 128.7 kB / 1.084 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.3947, allocations: 0 / 1.084 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.3949, allocations: 31.97 kB / 1.084 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.395, allocations: 15.98 kB / 1.084 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.395, allocations: 15.94 kB / 1.084 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001734/0.3952, allocations: 190 kB / 1.084 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3952, allocations: 0 / 1.084 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004616/0.3957, allocations: 91.78 kB / 1.084 GB, free: 9.988 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004593/0.3961, allocations: 192.6 kB / 1.084 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005043/0.3966, allocations: 195.9 kB / 1.085 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3967, allocations: 0 / 1.085 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.3969, allocations: 119.8 kB / 1.085 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008215/0.3977, allocations: 117 kB / 1.085 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008842/0.3986, allocations: 0.5945 MB / 1.085 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.399, allocations: 0.7755 MB / 1.086 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001625/0.3991, allocations: 46.27 kB / 1.086 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.716e-05/0.3992, allocations: 27.42 kB / 1.086 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3992, allocations: 0 / 1.086 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of Templates: time 0.009474/0.4087, allocations: 4.786 MB / 1.091 GB, free: 3.137 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches