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.0007911/0.0007914, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.006268/0.006268, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.44/1.44, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.806/2.806, allocations: 462.7 MB / 0.7364 GB, free: 256 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003828, allocations: 14.16 kB / 0.9028 GB, free: 36.78 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3548, allocations: 159.6 MB / 1.059 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.015/0.3699, allocations: 14.23 MB / 1.073 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004806/0.3747, allocations: 3.673 MB / 1.076 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003484/0.3751, allocations: 15.88 kB / 1.076 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004787/0.3756, allocations: 127.1 kB / 1.076 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008909/0.3765, allocations: 378.3 kB / 1.077 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008282/0.3773, allocations: 302.9 kB / 1.077 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001095/0.3784, allocations: 1.092 MB / 1.078 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004133/0.3788, allocations: 247.5 kB / 1.078 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006414/0.3795, allocations: 322.5 kB / 1.079 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002838/0.3798, allocations: 222.9 kB / 1.079 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.3798, allocations: 12 kB / 1.079 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004479/0.3803, allocations: 207.5 kB / 1.079 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.139e-05/0.3804, allocations: 59.73 kB / 1.079 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.3805, allocations: 156.9 kB / 1.079 GB, free: 416 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004814/0.381, allocations: 414.6 kB / 1.08 GB, free: 0 / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.381, allocations: 0 / 1.08 GB, free: 0 / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.381, allocations: 0 / 1.08 GB, free: 0 / 0.8262 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.381, allocations: 0 / 1.08 GB, free: 0 / 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.0008051/0.3819, allocations: 0.5573 MB / 1.08 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3819, allocations: 11.97 kB / 1.08 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.534e-05/0.382, allocations: 32.56 kB / 1.08 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.3823, allocations: 311.1 kB / 1.08 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.3824, allocations: 20.81 kB / 1.08 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.3824, allocations: 20.38 kB / 1.08 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/0.383, allocations: 269.5 kB / 1.081 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.383, allocations: 3.938 kB / 1.081 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.383, allocations: 4 kB / 1.081 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.383, allocations: 8 kB / 1.081 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005053/0.3836, allocations: 204.6 kB / 1.081 GB, free: 14.48 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.001451/0.385, allocations: 0.8399 MB / 1.082 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003956/0.3854, allocations: 149.2 kB / 1.082 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/0.3857, allocations: 105.6 kB / 1.082 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006734/0.3864, allocations: 0.491 MB / 1.082 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.3865, allocations: 38.5 kB / 1.083 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.984e-06/0.3865, allocations: 0 / 1.083 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0009399/0.3874, allocations: 301.2 kB / 1.083 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.3875, allocations: 77.11 kB / 1.083 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.3879, allocations: 267 kB / 1.083 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/0.388, allocations: 29.7 kB / 1.083 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/0.3883, allocations: 168.2 kB / 1.083 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.3884, allocations: 39.45 kB / 1.083 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.3884, allocations: 17.7 kB / 1.083 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002279/0.3887, allocations: 342.8 kB / 1.084 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.3889, allocations: 63.95 kB / 1.084 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.3892, allocations: 132.6 kB / 1.084 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004422/0.3896, allocations: 196.1 kB / 1.084 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3896, allocations: 0 / 1.084 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005411/0.3902, allocations: 237.1 kB / 1.084 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.3902, allocations: 5.25 kB / 1.084 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.3902, allocations: 0 / 1.084 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3902, allocations: 4 kB / 1.084 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.3906, allocations: 75.97 kB / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3906, allocations: 3.938 kB / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.3908, allocations: 35.81 kB / 1.084 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.3908, allocations: 19.94 kB / 1.084 GB, free: 10.59 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001614/0.391, allocations: 139.4 kB / 1.085 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.559e-05/0.3911, allocations: 27.66 kB / 1.085 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.3914, allocations: 195.1 kB / 1.085 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.3915, allocations: 4 kB / 1.085 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3915, allocations: 0 / 1.085 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.3915, allocations: 4 kB / 1.085 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008437/0.3923, allocations: 0.599 MB / 1.085 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3923, allocations: 0 / 1.085 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.3926, allocations: 68.02 kB / 1.085 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.3926, allocations: 8.031 kB / 1.085 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.3926, allocations: 7.984 kB / 1.085 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3927, allocations: 0 / 1.085 GB, free: 9.461 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3927, allocations: 4 kB / 1.085 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007752/0.3934, allocations: 457.6 kB / 1.086 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.3936, allocations: 117.2 kB / 1.086 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.3936, allocations: 8 kB / 1.086 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.3938, allocations: 39.81 kB / 1.086 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.3939, allocations: 19.92 kB / 1.086 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.394, allocations: 11.98 kB / 1.086 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001862/0.3941, allocations: 190 kB / 1.086 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3942, allocations: 0 / 1.086 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004687/0.3946, allocations: 87.84 kB / 1.086 GB, free: 8.496 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 (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.0004982/0.3951, allocations: 211.1 kB / 1.087 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005806/0.3957, allocations: 191.7 kB / 1.087 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.3957, allocations: 8.188 kB / 1.087 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002754/0.396, allocations: 115.8 kB / 1.087 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009109/0.3969, allocations: 117.3 kB / 1.087 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.398, allocations: 0.6297 MB / 1.088 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.3983, allocations: 0.7677 MB / 1.088 GB, free: 6.398 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001643/0.3985, allocations: 58.19 kB / 1.088 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.068e-05/0.3986, allocations: 23.44 kB / 1.088 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.3986, allocations: 0 / 1.088 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of Templates: time 0.01057/0.4092, allocations: 4.91 MB / 1.093 GB, free: 1.473 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