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.008414/0.008414, allocations: 100.6 kB / 15.73 MB, free: 6.469 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.001537/0.001537, allocations: 193.2 kB / 16.67 MB, free: 6.379 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.772/2.772, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 64.11 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.321, allocations: 157.4 MB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01799/0.339, allocations: 14.79 MB / 1.222 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004863/0.3439, allocations: 3.731 MB / 1.226 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004008/0.3444, allocations: 19.81 kB / 1.226 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005727/0.345, allocations: 166.8 kB / 1.226 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0009764/0.346, allocations: 413.9 kB / 1.226 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000868/0.3469, allocations: 328.1 kB / 1.227 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008028/0.3477, allocations: 0.7686 MB / 1.227 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004246/0.3481, allocations: 288.5 kB / 1.228 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006621/0.3488, allocations: 390.4 kB / 1.228 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.3491, allocations: 219 kB / 1.228 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.802e-05/0.3491, allocations: 20 kB / 1.228 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004632/0.3496, allocations: 235.5 kB / 1.229 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.203e-05/0.3497, allocations: 67.75 kB / 1.229 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.3499, allocations: 143.3 kB / 1.229 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006335/0.3505, allocations: 434.7 kB / 1.229 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3505, allocations: 0 / 1.229 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3505, allocations: 0 / 1.229 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.3505, allocations: 0 / 1.229 GB, free: 3.617 MB / 0.9825 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.0009718/0.3515, allocations: 0.6078 MB / 1.23 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.3516, allocations: 8.625 kB / 1.23 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.402e-05/0.3517, allocations: 36.56 kB / 1.23 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005479/0.3522, allocations: 323 kB / 1.23 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.3522, allocations: 20.8 kB / 1.23 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.3523, allocations: 24.38 kB / 1.23 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005422/0.3528, allocations: 257.5 kB / 1.23 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3529, allocations: 7.938 kB / 1.23 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.3529, allocations: 11.94 kB / 1.23 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.3529, allocations: 8 kB / 1.23 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004818/0.3534, allocations: 176.6 kB / 1.231 GB, free: 2.055 MB / 0.9825 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.001323/0.3547, allocations: 0.8351 MB / 1.231 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.355, allocations: 137.2 kB / 1.232 GB, free: 1 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002194/0.3553, allocations: 89.59 kB / 1.232 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003955/0.3557, allocations: 498.6 kB / 1.232 GB, free: 316 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.3557, allocations: 46.48 kB / 1.232 GB, free: 260 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.3557, allocations: 4 kB / 1.232 GB, free: 256 kB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0008536/0.3566, allocations: 249.5 kB / 1.232 GB, free: 16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.3566, allocations: 85.05 kB / 1.232 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.3569, allocations: 267 kB / 1.233 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.3569, allocations: 33.7 kB / 1.233 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.3571, allocations: 168.2 kB / 1.233 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.3571, allocations: 35.47 kB / 1.233 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.644e-05/0.3572, allocations: 37.61 kB / 1.233 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3573, allocations: 338.8 kB / 1.233 GB, free: 15 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.3575, allocations: 63.88 kB / 1.233 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.3578, allocations: 121.9 kB / 1.233 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.3582, allocations: 168.1 kB / 1.234 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3582, allocations: 0 / 1.234 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005116/0.3587, allocations: 213.1 kB / 1.234 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.3588, allocations: 9.5 kB / 1.234 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3588, allocations: 4 kB / 1.234 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3588, allocations: 0 / 1.234 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.3591, allocations: 52.31 kB / 1.234 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3591, allocations: 7.938 kB / 1.234 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.3593, allocations: 28.14 kB / 1.234 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.3593, allocations: 8 kB / 1.234 GB, free: 14.3 MB / 0.9981 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.0001364/0.3595, allocations: 145.8 kB / 1.234 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.106e-05/0.3596, allocations: 35.64 kB / 1.234 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003131/0.3599, allocations: 179.2 kB / 1.234 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.3599, allocations: 4 kB / 1.234 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3599, allocations: 0 / 1.234 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.3599, allocations: 0 / 1.234 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007887/0.3607, allocations: 0.6105 MB / 1.235 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.3607, allocations: 4 kB / 1.235 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.361, allocations: 51.88 kB / 1.235 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.361, allocations: 4 kB / 1.235 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.361, allocations: 4 kB / 1.235 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.361, allocations: 4 kB / 1.235 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3611, allocations: 4.125 kB / 1.235 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006297/0.3617, allocations: 441.6 kB / 1.235 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.3618, allocations: 116.8 kB / 1.235 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/0.3618, allocations: 8 kB / 1.235 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.3621, allocations: 11.98 kB / 1.235 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.748e-05/0.3622, allocations: 23.91 kB / 1.236 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.3622, allocations: 4.047 kB / 1.236 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001915/0.3624, allocations: 198 kB / 1.236 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.11e-07/0.3624, allocations: 0 / 1.236 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000552/0.363, allocations: 95.77 kB / 1.236 GB, free: 12.25 MB / 0.9981 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.0006254/0.3636, allocations: 210.5 kB / 1.236 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005663/0.3642, allocations: 175.7 kB / 1.236 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3642, allocations: 0 / 1.236 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002948/0.3645, allocations: 104.2 kB / 1.236 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008694/0.3654, allocations: 119.6 kB / 1.236 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009629/0.3663, allocations: 0.5089 MB / 1.237 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.3667, allocations: 0.7792 MB / 1.238 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001682/0.3669, allocations: 54.17 kB / 1.238 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/0.3669, allocations: 35.38 kB / 1.238 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/0.3669, allocations: 0 / 1.238 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of Templates: time 0.01065/0.3776, allocations: 5.316 MB / 1.243 GB, free: 4.969 MB / 0.9981 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