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.001378/0.001379, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001471/0.00147, allocations: 194.6 kB / 16.14 MB, free: 6.648 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.385/1.385, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.775/2.775, allocations: 461.9 MB / 0.7342 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001254, allocations: 64.97 kB / 0.8984 GB, free: 37.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3653, allocations: 157.4 MB / 1.052 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.0161/0.3815, allocations: 14.75 MB / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004657/0.3862, allocations: 3.712 MB / 1.07 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.3865, allocations: 15.88 kB / 1.07 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000483/0.3871, allocations: 135.1 kB / 1.07 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008643/0.3879, allocations: 378.3 kB / 1.071 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007891/0.3887, allocations: 305.4 kB / 1.071 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0009801/0.3897, allocations: 1.088 MB / 1.072 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003843/0.3901, allocations: 254.1 kB / 1.072 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006126/0.3907, allocations: 346.4 kB / 1.073 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.391, allocations: 227 kB / 1.073 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.3911, allocations: 12 kB / 1.073 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004599/0.3915, allocations: 211.5 kB / 1.073 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.864e-05/0.3916, allocations: 63.75 kB / 1.073 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.3918, allocations: 139.3 kB / 1.073 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005576/0.3924, allocations: 414.7 kB / 1.074 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3924, allocations: 0 / 1.074 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3924, allocations: 0 / 1.074 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3924, allocations: 0 / 1.074 GB, free: 2.844 MB / 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.0009259/0.3933, allocations: 0.6079 MB / 1.074 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3934, allocations: 8.031 kB / 1.074 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.101e-05/0.3935, allocations: 36.55 kB / 1.074 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003892/0.3939, allocations: 307.1 kB / 1.074 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.3939, allocations: 20.81 kB / 1.075 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.3939, allocations: 20.38 kB / 1.075 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005503/0.3945, allocations: 265.5 kB / 1.075 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3945, allocations: 0 / 1.075 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.3945, allocations: 12 kB / 1.075 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.3946, allocations: 4 kB / 1.075 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.395, allocations: 184.5 kB / 1.075 GB, free: 1.301 MB / 0.8262 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.001233/0.3963, allocations: 0.8399 MB / 1.076 GB, free: 404 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.3966, allocations: 129.2 kB / 1.076 GB, free: 256 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.3968, allocations: 93.59 kB / 1.076 GB, free: 156 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004262/0.3973, allocations: 0.4947 MB / 1.076 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.3973, allocations: 34.5 kB / 1.077 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.3973, allocations: 0 / 1.077 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0007826/0.3981, allocations: 265.3 kB / 1.077 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.3982, allocations: 77.11 kB / 1.077 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.3984, allocations: 270.9 kB / 1.077 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.3985, allocations: 29.7 kB / 1.077 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.3986, allocations: 168.2 kB / 1.077 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.3987, allocations: 43.45 kB / 1.077 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.774e-05/0.3987, allocations: 37.7 kB / 1.077 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3989, allocations: 330.8 kB / 1.078 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.3991, allocations: 59.95 kB / 1.078 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.3993, allocations: 117.9 kB / 1.078 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.3998, allocations: 176.1 kB / 1.078 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.3998, allocations: 4 kB / 1.078 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004955/0.4003, allocations: 213 kB / 1.078 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4003, allocations: 4 kB / 1.078 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.4003, allocations: 4 kB / 1.078 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.4003, allocations: 4.094 kB / 1.078 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.4006, allocations: 55.88 kB / 1.078 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.4006, allocations: 0 / 1.078 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.4008, allocations: 35.81 kB / 1.078 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.4009, allocations: 8.375 kB / 1.078 GB, free: 13.54 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.0001581/0.4011, allocations: 145.8 kB / 1.078 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.088e-05/0.4011, allocations: 31.56 kB / 1.079 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003321/0.4015, allocations: 191.2 kB / 1.079 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.4015, allocations: 0 / 1.079 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.4015, allocations: 4 kB / 1.079 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4015, allocations: 4 kB / 1.079 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008013/0.4023, allocations: 0.603 MB / 1.079 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.4023, allocations: 3.984 kB / 1.079 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.4026, allocations: 47.89 kB / 1.079 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.4026, allocations: 4.094 kB / 1.079 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.4026, allocations: 12.05 kB / 1.079 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4026, allocations: 4 kB / 1.079 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4026, allocations: 4 kB / 1.079 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005928/0.4032, allocations: 439.8 kB / 1.08 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.4034, allocations: 124.7 kB / 1.08 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.4034, allocations: 0 / 1.08 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.4036, allocations: 27.91 kB / 1.08 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.4037, allocations: 19.92 kB / 1.08 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.4037, allocations: 11.98 kB / 1.08 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001772/0.4039, allocations: 194 kB / 1.08 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4039, allocations: 0 / 1.08 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004429/0.4044, allocations: 83.84 kB / 1.08 GB, free: 11.48 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.0004741/0.4049, allocations: 212.6 kB / 1.08 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005129/0.4054, allocations: 168 kB / 1.081 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4054, allocations: 7.938 kB / 1.081 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002753/0.4057, allocations: 107.9 kB / 1.081 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008889/0.4066, allocations: 111.5 kB / 1.081 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008787/0.4075, allocations: 0.6045 MB / 1.081 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.4078, allocations: 0.7794 MB / 1.082 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000163/0.408, allocations: 46.69 kB / 1.082 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.869e-05/0.4081, allocations: 23.44 kB / 1.082 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.4081, allocations: 0 / 1.082 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of Templates: time 0.009723/0.4178, allocations: 4.944 MB / 1.087 GB, free: 4.5 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