Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram_m_flow.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow",fileNamePrefix="Buildings_9_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.001362/0.001371, allocations: 102.1 kB / 16.41 MB, free: 6.488 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.001724/0.001725, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001392, allocations: 63.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8438/0.8452, allocations: 140.4 MB / 1.089 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01216/0.8574, allocations: 10.13 MB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003388/0.8608, allocations: 2.22 MB / 1.101 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/0.8611, allocations: 9.125 kB / 1.101 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004224/0.8616, allocations: 96.97 kB / 1.101 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0007033/0.8623, allocations: 261.2 kB / 1.101 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007574/0.863, allocations: 221 kB / 1.101 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.000623/0.8637, allocations: 440.1 kB / 1.102 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003319/0.864, allocations: 139.6 kB / 1.102 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004902/0.8645, allocations: 212.5 kB / 1.102 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.8647, allocations: 115.9 kB / 1.102 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.8648, allocations: 9.594 kB / 1.102 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004129/0.8652, allocations: 163.6 kB / 1.102 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 6.577e-05/0.8653, allocations: 38.31 kB / 1.102 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 9.897e-05/0.8654, allocations: 73.02 kB / 1.102 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0004718/0.8659, allocations: 250.1 kB / 1.103 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8659, allocations: 0 / 1.103 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8659, allocations: 1.188 kB / 1.103 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.8659, allocations: 0 / 1.103 GB, free: 12.03 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006693/0.8666, allocations: 469.8 kB / 1.103 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.8666, allocations: 14.42 kB / 1.103 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.196e-05/0.8667, allocations: 17.75 kB / 1.103 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.8671, allocations: 262.7 kB / 1.103 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.8671, allocations: 13.59 kB / 1.103 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.8671, allocations: 12.25 kB / 1.103 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.8675, allocations: 146.7 kB / 1.103 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.8675, allocations: 0.75 kB / 1.103 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.8675, allocations: 4.875 kB / 1.103 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.8675, allocations: 7.062 kB / 1.103 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.8678, allocations: 90.7 kB / 1.104 GB, free: 11.21 MB / 0.8731 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.0008196/0.8687, allocations: 0.5301 MB / 1.104 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.8689, allocations: 90.53 kB / 1.104 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.869, allocations: 57.86 kB / 1.104 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002911/0.8693, allocations: 340.9 kB / 1.105 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.8694, allocations: 40.88 kB / 1.105 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.8694, allocations: 0 / 1.105 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7): time 0.0005321/0.8699, allocations: 159.4 kB / 1.105 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.87, allocations: 88.09 kB / 1.105 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.8702, allocations: 188.1 kB / 1.105 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.8702, allocations: 26.86 kB / 1.105 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/0.8703, allocations: 120.9 kB / 1.105 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.8703, allocations: 24.73 kB / 1.105 GB, free: 9.801 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/0.8704, allocations: 24.78 kB / 1.105 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.8705, allocations: 323.1 kB / 1.106 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.8707, allocations: 38.41 kB / 1.106 GB, free: 9.453 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.8708, allocations: 64.66 kB / 1.106 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.8711, allocations: 98.88 kB / 1.106 GB, free: 9.367 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.8711, allocations: 4 kB / 1.106 GB, free: 9.363 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003076/0.8714, allocations: 136.3 kB / 1.106 GB, free: 9.297 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.8714, allocations: 5.438 kB / 1.106 GB, free: 9.297 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.8714, allocations: 0 / 1.106 GB, free: 9.297 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.8715, allocations: 1.094 kB / 1.106 GB, free: 9.297 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.8717, allocations: 39.09 kB / 1.106 GB, free: 9.293 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.8717, allocations: 5.656 kB / 1.106 GB, free: 9.289 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.8719, allocations: 15.52 kB / 1.106 GB, free: 9.285 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.8719, allocations: 5.531 kB / 1.106 GB, free: 9.285 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * 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.0001146/0.872, allocations: 125.2 kB / 1.106 GB, free: 9.164 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/0.8721, allocations: 19.81 kB / 1.106 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.8723, allocations: 138.1 kB / 1.106 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.8724, allocations: 3.109 kB / 1.106 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.8724, allocations: 3.938 kB / 1.106 GB, free: 9.07 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.8724, allocations: 5.859 kB / 1.106 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006153/0.873, allocations: 468.7 kB / 1.107 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.873, allocations: 1.188 kB / 1.107 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.8732, allocations: 39.25 kB / 1.107 GB, free: 8.672 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.8732, allocations: 5.719 kB / 1.107 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.8733, allocations: 11.69 kB / 1.107 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.8733, allocations: 1.641 kB / 1.107 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.8733, allocations: 1.625 kB / 1.107 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.8737, allocations: 347.3 kB / 1.107 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.952e-05/0.8738, allocations: 101.6 kB / 1.107 GB, free: 8.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.8738, allocations: 3.969 kB / 1.107 GB, free: 8.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.874, allocations: 6.531 kB / 1.107 GB, free: 8.277 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.874, allocations: 15.62 kB / 1.107 GB, free: 8.27 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.874, allocations: 4.391 kB / 1.107 GB, free: 8.27 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001273/0.8742, allocations: 136.5 kB / 1.107 GB, free: 8.18 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.333e-06/0.8742, allocations: 4 kB / 1.107 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004253/0.8746, allocations: 56.39 kB / 1.107 GB, free: 8.16 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004685/0.8751, allocations: 178.9 kB / 1.108 GB, free: 8.047 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004057/0.8755, allocations: 106.2 kB / 1.108 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8755, allocations: 4.719 kB / 1.108 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.8757, allocations: 61.33 kB / 1.108 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000663/0.8764, allocations: 78.59 kB / 1.108 GB, free: 7.973 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006164/0.877, allocations: 364.3 kB / 1.108 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.8773, allocations: 0.7257 MB / 1.109 GB, free: 7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.8774, allocations: 19.83 kB / 1.109 GB, free: 6.988 MB / 0.8731 GB Notification: Performance of SimCode: time 3.8e-07/0.8774, allocations: 1.062 kB / 1.109 GB, free: 6.988 MB / 0.8731 GB Notification: Performance of Templates: time 0.006949/0.8843, allocations: 2.853 MB / 1.112 GB, free: 6.656 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches