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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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=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_10_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_10_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.005468/0.005468, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001158/0.001158, allocations: 191.7 kB / 16.67 MB, free: 5.938 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3627, allocations: 151.6 MB / 1.167 GB, free: 6.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.02133/0.3841, allocations: 14.79 MB / 1.181 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006299/0.3905, allocations: 3.727 MB / 1.185 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009387/0.3914, allocations: 11.94 kB / 1.185 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009001/0.3925, allocations: 170.7 kB / 1.185 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.3942, allocations: 394 kB / 1.185 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.3955, allocations: 341.9 kB / 1.186 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001256/0.3968, allocations: 0.7725 MB / 1.186 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006822/0.3975, allocations: 292.3 kB / 1.187 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009964/0.3985, allocations: 386.3 kB / 1.187 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005302/0.3991, allocations: 219 kB / 1.187 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.673e-05/0.3991, allocations: 23.94 kB / 1.187 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007014/0.3998, allocations: 231.5 kB / 1.187 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.4, allocations: 67.81 kB / 1.187 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.4003, allocations: 151.2 kB / 1.188 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009157/0.4012, allocations: 430.4 kB / 1.188 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.4012, allocations: 0 / 1.188 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4013, allocations: 0 / 1.188 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.4013, allocations: 0 / 1.188 GB, free: 0.8164 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.001159/0.4024, allocations: 0.6114 MB / 1.189 GB, free: 160 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.4025, allocations: 8.031 kB / 1.189 GB, free: 152 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.4026, allocations: 40.75 kB / 1.189 GB, free: 112 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006709/0.4033, allocations: 331.2 kB / 1.189 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.4033, allocations: 20.75 kB / 1.189 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.4034, allocations: 28.38 kB / 1.189 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005954/0.404, allocations: 253.5 kB / 1.189 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.404, allocations: 0 / 1.189 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.404, allocations: 12 kB / 1.189 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.4041, allocations: 4 kB / 1.189 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004973/0.4046, allocations: 188.5 kB / 1.189 GB, free: 15.24 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.001466/0.406, allocations: 0.8316 MB / 1.19 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.4064, allocations: 137.1 kB / 1.19 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.4066, allocations: 89.59 kB / 1.19 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004891/0.4071, allocations: 0.4947 MB / 1.191 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.4072, allocations: 34.56 kB / 1.191 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 2.375e-06/0.4072, allocations: 0 / 1.191 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0008326/0.408, allocations: 257.3 kB / 1.191 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.4081, allocations: 89.05 kB / 1.191 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.4084, allocations: 263 kB / 1.192 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.4085, allocations: 33.7 kB / 1.192 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.4087, allocations: 176.4 kB / 1.192 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.4087, allocations: 43.78 kB / 1.192 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.921e-05/0.4088, allocations: 33.7 kB / 1.192 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.409, allocations: 334.8 kB / 1.192 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.4092, allocations: 59.95 kB / 1.192 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.4095, allocations: 125.9 kB / 1.192 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.4099, allocations: 176.1 kB / 1.193 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4099, allocations: 0 / 1.193 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005165/0.4105, allocations: 209.6 kB / 1.193 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.4105, allocations: 8 kB / 1.193 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.4105, allocations: 3.938 kB / 1.193 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.4105, allocations: 4.062 kB / 1.193 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.4108, allocations: 51.94 kB / 1.193 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.4108, allocations: 4.094 kB / 1.193 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.411, allocations: 35.83 kB / 1.193 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.4111, allocations: 11.98 kB / 1.193 GB, free: 11.46 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.000154/0.4112, allocations: 145.8 kB / 1.193 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.973e-05/0.4113, allocations: 27.8 kB / 1.193 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003477/0.4117, allocations: 183.3 kB / 1.193 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.4117, allocations: 0 / 1.193 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.4117, allocations: 4 kB / 1.193 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.4117, allocations: 4 kB / 1.193 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008787/0.4126, allocations: 0.5952 MB / 1.194 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.4126, allocations: 4 kB / 1.194 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.4129, allocations: 52.06 kB / 1.194 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.4129, allocations: 4 kB / 1.194 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.4129, allocations: 4.094 kB / 1.194 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.4129, allocations: 7.875 kB / 1.194 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.4129, allocations: 7.984 kB / 1.194 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006635/0.4136, allocations: 441.7 kB / 1.194 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.4137, allocations: 120.9 kB / 1.194 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.4138, allocations: 4 kB / 1.194 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.414, allocations: 23.97 kB / 1.194 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/0.4141, allocations: 23.86 kB / 1.194 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.4141, allocations: 8 kB / 1.194 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001909/0.4143, allocations: 190 kB / 1.195 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4143, allocations: 0 / 1.195 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005009/0.4148, allocations: 95.75 kB / 1.195 GB, free: 9.414 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.0005749/0.4154, allocations: 197.8 kB / 1.195 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005363/0.416, allocations: 175.9 kB / 1.195 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.416, allocations: 0 / 1.195 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002828/0.4163, allocations: 108.2 kB / 1.195 GB, free: 8.938 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007771/0.417, allocations: 114.9 kB / 1.195 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.4182, allocations: 0.5317 MB / 1.196 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.4186, allocations: 0.7753 MB / 1.197 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000186/0.4188, allocations: 58.27 kB / 1.197 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.4189, allocations: 23.44 kB / 1.197 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.4189, allocations: 0 / 1.197 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of Templates: time 0.01077/0.4296, allocations: 5.243 MB / 1.202 GB, free: 2.203 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) 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) Reference file matches