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.007541/0.007541, allocations: 100.9 kB / 15.73 MB, free: 6.035 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.001792/0.001792, allocations: 199.1 kB / 16.68 MB, free: 5.953 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.381/1.381, allocations: 222.9 MB / 240.3 MB, free: 15.1 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.279/2.279, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 59.91 kB / 0.9508 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.027, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01419/1.041, allocations: 10.12 MB / 1.098 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003632/1.045, allocations: 2.219 MB / 1.1 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/1.045, allocations: 9 kB / 1.1 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004452/1.046, allocations: 101.5 kB / 1.1 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0008114/1.046, allocations: 266.2 kB / 1.1 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008214/1.047, allocations: 230.5 kB / 1.101 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.000744/1.048, allocations: 441 kB / 1.101 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003345/1.048, allocations: 131.7 kB / 1.101 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005621/1.049, allocations: 217.8 kB / 1.101 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/1.049, allocations: 119.1 kB / 1.101 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/1.049, allocations: 10.06 kB / 1.101 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004607/1.05, allocations: 166.2 kB / 1.102 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 7.72e-05/1.05, allocations: 34.89 kB / 1.102 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/1.05, allocations: 73 kB / 1.102 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0005392/1.05, allocations: 245.9 kB / 1.102 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.05, allocations: 0.75 kB / 1.102 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.894e-06/1.05, allocations: 0.8906 kB / 1.102 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.612e-06/1.05, allocations: 4 kB / 1.102 GB, free: 11.77 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.0007646/1.051, allocations: 474.2 kB / 1.102 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/1.051, allocations: 17 kB / 1.102 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/1.051, allocations: 18.95 kB / 1.102 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/1.052, allocations: 262.4 kB / 1.103 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/1.052, allocations: 5.781 kB / 1.103 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/1.052, allocations: 11.56 kB / 1.103 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/1.052, allocations: 142 kB / 1.103 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/1.052, allocations: 0.9062 kB / 1.103 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/1.052, allocations: 5.125 kB / 1.103 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/1.052, allocations: 2.25 kB / 1.103 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/1.053, allocations: 95.34 kB / 1.103 GB, free: 10.96 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.0009213/1.054, allocations: 0.5263 MB / 1.103 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/1.054, allocations: 97.58 kB / 1.104 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/1.054, allocations: 58.19 kB / 1.104 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003394/1.054, allocations: 338 kB / 1.104 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/1.054, allocations: 44.36 kB / 1.104 GB, free: 9.996 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/1.054, allocations: 4 kB / 1.104 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7): time 0.000551/1.055, allocations: 155 kB / 1.104 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/1.055, allocations: 83.55 kB / 1.104 GB, free: 9.832 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/1.055, allocations: 188.1 kB / 1.104 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/1.055, allocations: 26.7 kB / 1.104 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/1.055, allocations: 126 kB / 1.104 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/1.055, allocations: 23.95 kB / 1.105 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-05/1.055, allocations: 25.44 kB / 1.105 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.056, allocations: 326.4 kB / 1.105 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/1.056, allocations: 31.83 kB / 1.105 GB, free: 9.195 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/1.056, allocations: 68.16 kB / 1.105 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/1.056, allocations: 98.48 kB / 1.105 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.056, allocations: 0 / 1.105 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003166/1.057, allocations: 135.5 kB / 1.105 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.057, allocations: 10.17 kB / 1.105 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.057, allocations: 1.094 kB / 1.105 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/1.057, allocations: 1.125 kB / 1.105 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/1.057, allocations: 34.31 kB / 1.105 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/1.057, allocations: 2.312 kB / 1.105 GB, free: 9.035 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/1.057, allocations: 15.25 kB / 1.105 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/1.057, allocations: 7.891 kB / 1.105 GB, free: 9.027 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.0001269/1.057, allocations: 130.7 kB / 1.105 GB, free: 8.902 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.225e-05/1.057, allocations: 23.66 kB / 1.105 GB, free: 8.887 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/1.057, allocations: 138.9 kB / 1.106 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/1.057, allocations: 2.75 kB / 1.106 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/1.057, allocations: 0 / 1.106 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.058, allocations: 1.219 kB / 1.106 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006661/1.058, allocations: 477.6 kB / 1.106 GB, free: 8.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/1.058, allocations: 1.344 kB / 1.106 GB, free: 8.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/1.058, allocations: 39.05 kB / 1.106 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/1.058, allocations: 2.156 kB / 1.106 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/1.058, allocations: 3.266 kB / 1.106 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/1.058, allocations: 1.438 kB / 1.106 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.058, allocations: 1.688 kB / 1.106 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004268/1.059, allocations: 351.6 kB / 1.106 GB, free: 8.125 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.707e-05/1.059, allocations: 106.4 kB / 1.106 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/1.059, allocations: 2.719 kB / 1.106 GB, free: 8.016 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/1.059, allocations: 14.3 kB / 1.106 GB, free: 8.008 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/1.059, allocations: 11.66 kB / 1.106 GB, free: 8.004 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/1.059, allocations: 4.203 kB / 1.106 GB, free: 8.004 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001407/1.059, allocations: 140.4 kB / 1.107 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.613e-06/1.059, allocations: 0 / 1.107 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000471/1.06, allocations: 53.42 kB / 1.107 GB, free: 7.898 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.0005416/1.06, allocations: 181.2 kB / 1.107 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003858/1.061, allocations: 101.7 kB / 1.107 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.061, allocations: 0.5938 kB / 1.107 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002027/1.061, allocations: 65.73 kB / 1.107 GB, free: 7.738 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006729/1.062, allocations: 77.42 kB / 1.107 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007278/1.062, allocations: 340.9 kB / 1.107 GB, free: 7.469 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/1.063, allocations: 0.7267 MB / 1.108 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001485/1.063, allocations: 35.39 kB / 1.108 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/1.063, allocations: 16.78 kB / 1.108 GB, free: 6.754 MB / 0.8731 GB Notification: Performance of SimCode: time 3.2e-07/1.063, allocations: 0 / 1.108 GB, free: 6.754 MB / 0.8731 GB Notification: Performance of Templates: time 0.009885/1.073, allocations: 3.274 MB / 1.111 GB, free: 6.418 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches