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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009467/0.0009467, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009955/0.0009957, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.566/2.566, allocations: 436.5 MB / 0.7104 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.0003161, allocations: 12 kB / 0.8708 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6863/0.6867, allocations: 153.7 MB / 1.021 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01282/0.6995, allocations: 12.46 MB / 1.033 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004611/0.7042, allocations: 3.173 MB / 1.036 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004719/0.7047, allocations: 15.88 kB / 1.036 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006702/0.7054, allocations: 171.2 kB / 1.036 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009037/0.7063, allocations: 346.9 kB / 1.037 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.7075, allocations: 0.4943 MB / 1.037 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005925/0.7081, allocations: 456.5 kB / 1.037 GB, free: 128 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004018/0.7085, allocations: 210.6 kB / 1.038 GB, free: 15.92 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005836/0.7091, allocations: 295 kB / 1.038 GB, free: 15.63 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.7094, allocations: 139.3 kB / 1.038 GB, free: 15.49 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.7094, allocations: 12 kB / 1.038 GB, free: 15.48 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004249/0.7098, allocations: 147.8 kB / 1.038 GB, free: 15.34 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.084e-05/0.7099, allocations: 55.83 kB / 1.038 GB, free: 15.28 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.725e-05/0.71, allocations: 73.52 kB / 1.038 GB, free: 15.2 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.7104, allocations: 269.5 kB / 1.039 GB, free: 14.94 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.7104, allocations: 0 / 1.039 GB, free: 14.94 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7104, allocations: 0 / 1.039 GB, free: 14.94 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.7104, allocations: 0 / 1.039 GB, free: 14.94 MB / 0.795 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.000838/0.7112, allocations: 0.5649 MB / 1.039 GB, free: 14.33 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.7113, allocations: 19.92 kB / 1.039 GB, free: 14.31 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.802e-05/0.7114, allocations: 31.62 kB / 1.039 GB, free: 14.28 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.7118, allocations: 305.8 kB / 1.04 GB, free: 13.94 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.7118, allocations: 20.44 kB / 1.04 GB, free: 13.92 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.7119, allocations: 20 kB / 1.04 GB, free: 13.9 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.7124, allocations: 261.4 kB / 1.04 GB, free: 13.63 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.7124, allocations: 0 / 1.04 GB, free: 13.63 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.7124, allocations: 12 kB / 1.04 GB, free: 13.62 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.7125, allocations: 4 kB / 1.04 GB, free: 13.62 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004846/0.7129, allocations: 204.5 kB / 1.04 GB, free: 13.42 MB / 0.795 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.001282/0.7142, allocations: 0.8394 MB / 1.041 GB, free: 12.51 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.7146, allocations: 149.1 kB / 1.041 GB, free: 12.35 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004091/0.715, allocations: 498.6 kB / 1.041 GB, free: 11.75 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.715, allocations: 38.56 kB / 1.042 GB, free: 11.7 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.715, allocations: 0 / 1.042 GB, free: 11.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0008052/0.7158, allocations: 289.2 kB / 1.042 GB, free: 11.41 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.7159, allocations: 77.11 kB / 1.042 GB, free: 11.32 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.7162, allocations: 267 kB / 1.042 GB, free: 11.05 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.7162, allocations: 33.7 kB / 1.042 GB, free: 11.02 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.7164, allocations: 172.2 kB / 1.042 GB, free: 10.84 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.7164, allocations: 47.44 kB / 1.042 GB, free: 10.8 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.7164, allocations: 7.938 kB / 1.042 GB, free: 10.79 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.7166, allocations: 330.8 kB / 1.043 GB, free: 10.46 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.7168, allocations: 75.94 kB / 1.043 GB, free: 10.38 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.717, allocations: 129.9 kB / 1.043 GB, free: 10.23 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.7172, allocations: 79.94 kB / 1.043 GB, free: 10.16 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.7173, allocations: 4 kB / 1.043 GB, free: 10.15 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004888/0.7177, allocations: 237.4 kB / 1.043 GB, free: 9.914 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.7178, allocations: 4 kB / 1.043 GB, free: 9.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.7178, allocations: 4 kB / 1.043 GB, free: 9.906 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.7178, allocations: 0 / 1.043 GB, free: 9.906 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.7181, allocations: 75.97 kB / 1.043 GB, free: 9.832 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.7181, allocations: 4 kB / 1.043 GB, free: 9.828 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.7183, allocations: 35.81 kB / 1.043 GB, free: 9.793 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.7184, allocations: 8 kB / 1.043 GB, free: 9.785 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.7185, allocations: 141.8 kB / 1.043 GB, free: 9.637 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.7186, allocations: 27.67 kB / 1.043 GB, free: 9.609 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002947/0.7189, allocations: 187.2 kB / 1.044 GB, free: 9.418 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.7189, allocations: 4 kB / 1.044 GB, free: 9.414 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.7189, allocations: 4 kB / 1.044 GB, free: 9.41 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.7189, allocations: 96 / 1.044 GB, free: 9.41 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007558/0.7197, allocations: 0.6068 MB / 1.044 GB, free: 8.734 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.7197, allocations: 0 / 1.044 GB, free: 8.734 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.7199, allocations: 68.02 kB / 1.044 GB, free: 8.668 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.72, allocations: 4 kB / 1.044 GB, free: 8.664 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.72, allocations: 7.984 kB / 1.044 GB, free: 8.656 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.72, allocations: 0 / 1.044 GB, free: 8.656 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.72, allocations: 4 kB / 1.044 GB, free: 8.652 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/0.7207, allocations: 0.512 MB / 1.045 GB, free: 8.082 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.7208, allocations: 120.7 kB / 1.045 GB, free: 7.945 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.7208, allocations: 7.984 kB / 1.045 GB, free: 7.938 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.7211, allocations: 31.89 kB / 1.045 GB, free: 7.906 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.7211, allocations: 16.02 kB / 1.045 GB, free: 7.891 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.7212, allocations: 11.98 kB / 1.045 GB, free: 7.879 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001711/0.7213, allocations: 193.9 kB / 1.045 GB, free: 7.691 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7213, allocations: 4 kB / 1.045 GB, free: 7.688 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004312/0.7218, allocations: 83.92 kB / 1.045 GB, free: 7.605 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004119/0.7222, allocations: 193.4 kB / 1.045 GB, free: 7.414 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004979/0.7227, allocations: 196 kB / 1.046 GB, free: 7.223 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7227, allocations: 0 / 1.046 GB, free: 7.223 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002575/0.723, allocations: 120 kB / 1.046 GB, free: 7.105 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006957/0.7237, allocations: 125.6 kB / 1.046 GB, free: 6.98 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007709/0.7245, allocations: 0.5945 MB / 1.046 GB, free: 6.34 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.7248, allocations: 0.7794 MB / 1.047 GB, free: 5.535 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001572/0.7249, allocations: 54.19 kB / 1.047 GB, free: 5.484 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.725, allocations: 23.44 kB / 1.047 GB, free: 5.461 MB / 0.795 GB Notification: Performance of SimCode: time 1.91e-07/0.725, allocations: 0 / 1.047 GB, free: 5.461 MB / 0.795 GB Notification: Performance of Templates: time 0.009082/0.7341, allocations: 4.769 MB / 1.052 GB, free: 0.7539 MB / 0.795 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","../files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches