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.001347/0.001347, allocations: 103.9 kB / 16.27 MB, free: 6.414 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.001225/0.001225, allocations: 190.3 kB / 17.2 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.348/1.348, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.54/2.54, allocations: 469.4 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 58.66 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3021, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01761/0.3198, allocations: 14.77 MB / 1.079 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.5554/0.8752, allocations: 3.719 MB / 1.082 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004306/0.8757, allocations: 14.62 kB / 1.082 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005304/0.8763, allocations: 169.4 kB / 1.082 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.8773, allocations: 405.3 kB / 1.083 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009527/0.8783, allocations: 318.8 kB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0009484/0.8792, allocations: 0.7745 MB / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000482/0.8797, allocations: 294.9 kB / 1.084 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007463/0.8805, allocations: 380.7 kB / 1.085 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.8808, allocations: 224.4 kB / 1.085 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.8808, allocations: 20.53 kB / 1.085 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005738/0.8814, allocations: 229.3 kB / 1.085 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.981e-05/0.8815, allocations: 74.3 kB / 1.085 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.8817, allocations: 140.2 kB / 1.085 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006644/0.8823, allocations: 425.4 kB / 1.086 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8823, allocations: 0 / 1.086 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8824, allocations: 5.188 kB / 1.086 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.8824, allocations: 0 / 1.086 GB, free: 10.89 MB / 0.8419 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.0008439/0.8832, allocations: 0.5956 MB / 1.086 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.8833, allocations: 13.97 kB / 1.086 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.213e-05/0.8834, allocations: 33.72 kB / 1.086 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.8837, allocations: 313.5 kB / 1.087 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.8837, allocations: 17.03 kB / 1.087 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.8838, allocations: 27.41 kB / 1.087 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005244/0.8843, allocations: 257.5 kB / 1.087 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.8843, allocations: 0 / 1.087 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.8844, allocations: 10.48 kB / 1.087 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.8844, allocations: 4.188 kB / 1.087 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.8849, allocations: 189.8 kB / 1.087 GB, free: 10.11 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.001179/0.8861, allocations: 0.8363 MB / 1.088 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.8864, allocations: 142.6 kB / 1.088 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.8866, allocations: 91.42 kB / 1.088 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000294/0.887, allocations: 0.4952 MB / 1.089 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.887, allocations: 37.02 kB / 1.089 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.887, allocations: 0 / 1.089 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0008332/0.8878, allocations: 255.3 kB / 1.089 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.8879, allocations: 79.84 kB / 1.089 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.8882, allocations: 273.3 kB / 1.089 GB, free: 8.695 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.8882, allocations: 30.52 kB / 1.089 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.877e-05/0.8883, allocations: 164.2 kB / 1.089 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.8883, allocations: 45.97 kB / 1.089 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.415e-05/0.8884, allocations: 35.11 kB / 1.089 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.198e-05/0.8885, allocations: 334.6 kB / 1.09 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.8887, allocations: 64.11 kB / 1.09 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.8889, allocations: 118.7 kB / 1.09 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/0.8894, allocations: 174.7 kB / 1.09 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.8894, allocations: 0 / 1.09 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005276/0.8899, allocations: 212.8 kB / 1.09 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.8899, allocations: 10.27 kB / 1.09 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.89, allocations: 0.8125 kB / 1.09 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.89, allocations: 2.125 kB / 1.09 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.8903, allocations: 49.98 kB / 1.09 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.8903, allocations: 6.703 kB / 1.09 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.8905, allocations: 30.42 kB / 1.09 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.8905, allocations: 11.38 kB / 1.09 GB, free: 7.965 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.0001172/0.8907, allocations: 149.7 kB / 1.091 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.987e-05/0.8907, allocations: 32.47 kB / 1.091 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003197/0.8911, allocations: 181.8 kB / 1.091 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.8911, allocations: 2.359 kB / 1.091 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.8911, allocations: 1.125 kB / 1.091 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.8911, allocations: 2.281 kB / 1.091 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000766/0.8919, allocations: 0.5984 MB / 1.091 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.8919, allocations: 4.781 kB / 1.091 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.8922, allocations: 53.42 kB / 1.091 GB, free: 7.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.8922, allocations: 6.281 kB / 1.091 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.8922, allocations: 7.75 kB / 1.091 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.8922, allocations: 10.12 kB / 1.091 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8922, allocations: 2.234 kB / 1.091 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006172/0.8928, allocations: 438.3 kB / 1.092 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-05/0.8929, allocations: 129 kB / 1.092 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.893, allocations: 3.672 kB / 1.092 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.8932, allocations: 18.97 kB / 1.092 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.8933, allocations: 23.7 kB / 1.092 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.8933, allocations: 7.016 kB / 1.092 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000172/0.8935, allocations: 194.4 kB / 1.092 GB, free: 6.695 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8935, allocations: 0 / 1.092 GB, free: 6.695 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005154/0.894, allocations: 79.08 kB / 1.092 GB, free: 6.684 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.000485/0.8945, allocations: 219.9 kB / 1.092 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005739/0.8951, allocations: 172.2 kB / 1.093 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.8951, allocations: 9.312 kB / 1.093 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.8954, allocations: 105.7 kB / 1.093 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008696/0.8963, allocations: 126.1 kB / 1.093 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008515/0.8971, allocations: 0.5434 MB / 1.093 GB, free: 6.078 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.8974, allocations: 0.7733 MB / 1.094 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.087e-05/0.8974, allocations: 23.55 kB / 1.094 GB, free: 5.367 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.8975, allocations: 0 / 1.094 GB, free: 5.367 MB / 0.8419 GB Notification: Performance of Templates: time 0.009088/0.9065, allocations: 4.554 MB / 1.099 GB, free: 4.824 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches