Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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|gaiMasFlo.y|massFlowRateMultiplier.port_a.m_flow|massFlowRateMultiplier.port_b.m_flow|massFlowRateMultiplier1.port_b.m_flow",fileNamePrefix="Buildings_10_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_10_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.001997/0.001997, 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.002247/0.002247, allocations: 193.2 kB / 16.13 MB, free: 6.641 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.496/1.496, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.818/2.818, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 67.89 kB / 0.8686 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.715/0.717, allocations: 151.6 MB / 1.017 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.02113/0.7382, allocations: 14.75 MB / 1.031 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005788/0.744, allocations: 3.716 MB / 1.035 GB, free: 380 kB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004745/0.7445, allocations: 11.94 kB / 1.035 GB, free: 368 kB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007388/0.7453, allocations: 135.1 kB / 1.035 GB, free: 232 kB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.7465, allocations: 382.3 kB / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009778/0.7475, allocations: 291.9 kB / 1.035 GB, free: 15.57 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001387/0.7489, allocations: 1.1 MB / 1.037 GB, free: 14.46 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004293/0.7493, allocations: 253.8 kB / 1.037 GB, free: 14.22 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007224/0.7501, allocations: 342.5 kB / 1.037 GB, free: 13.88 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003121/0.7504, allocations: 234.9 kB / 1.037 GB, free: 13.65 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.356e-05/0.7504, allocations: 20 kB / 1.037 GB, free: 13.63 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005603/0.751, allocations: 207.5 kB / 1.038 GB, free: 13.43 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.323e-05/0.7511, allocations: 63.77 kB / 1.038 GB, free: 13.37 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.7513, allocations: 135.3 kB / 1.038 GB, free: 13.23 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006421/0.7519, allocations: 414.7 kB / 1.038 GB, free: 12.83 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.752, allocations: 0 / 1.038 GB, free: 12.83 MB / 0.795 GB Notification: Performance of FrontEnd: time 6.72e-07/0.752, allocations: 0 / 1.038 GB, free: 12.83 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.752, allocations: 4 kB / 1.038 GB, free: 12.82 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.0009849/0.753, allocations: 0.6002 MB / 1.039 GB, free: 12.18 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.753, allocations: 12.03 kB / 1.039 GB, free: 12.16 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.906e-05/0.7531, allocations: 32.56 kB / 1.039 GB, free: 12.13 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.7535, allocations: 314.9 kB / 1.039 GB, free: 11.79 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.7535, allocations: 16.81 kB / 1.039 GB, free: 11.77 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.7536, allocations: 20.38 kB / 1.039 GB, free: 11.75 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005743/0.7542, allocations: 265.5 kB / 1.039 GB, free: 11.48 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.7542, allocations: 0 / 1.039 GB, free: 11.48 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.7542, allocations: 8 kB / 1.039 GB, free: 11.48 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.7542, allocations: 8 kB / 1.039 GB, free: 11.47 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005043/0.7547, allocations: 178.1 kB / 1.04 GB, free: 11.3 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.001322/0.7561, allocations: 0.8393 MB / 1.04 GB, free: 10.39 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.7564, allocations: 137.1 kB / 1.04 GB, free: 10.24 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.7567, allocations: 97.58 kB / 1.041 GB, free: 10.14 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004386/0.7571, allocations: 498.6 kB / 1.041 GB, free: 9.539 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.7571, allocations: 34.56 kB / 1.041 GB, free: 9.496 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.7572, allocations: 0 / 1.041 GB, free: 9.496 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0008145/0.758, allocations: 261.2 kB / 1.041 GB, free: 9.234 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.7581, allocations: 81.09 kB / 1.041 GB, free: 9.137 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.7584, allocations: 263 kB / 1.042 GB, free: 8.875 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.7585, allocations: 29.7 kB / 1.042 GB, free: 8.84 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.7586, allocations: 168.4 kB / 1.042 GB, free: 8.672 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.777e-05/0.7587, allocations: 47.38 kB / 1.042 GB, free: 8.625 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.31e-05/0.7588, allocations: 37.7 kB / 1.042 GB, free: 8.582 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.759, allocations: 334.8 kB / 1.042 GB, free: 8.246 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.7592, allocations: 59.94 kB / 1.042 GB, free: 8.188 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.7595, allocations: 117.9 kB / 1.042 GB, free: 8.051 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/0.76, allocations: 180.4 kB / 1.043 GB, free: 7.859 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.76, allocations: 0 / 1.043 GB, free: 7.859 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005556/0.7606, allocations: 221 kB / 1.043 GB, free: 7.637 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.7606, allocations: 4 kB / 1.043 GB, free: 7.633 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.7606, allocations: 0 / 1.043 GB, free: 7.633 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/0.7606, allocations: 4 kB / 1.043 GB, free: 7.629 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.761, allocations: 56.03 kB / 1.043 GB, free: 7.574 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.761, allocations: 0 / 1.043 GB, free: 7.574 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.7612, allocations: 35.81 kB / 1.043 GB, free: 7.539 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.7613, allocations: 4 kB / 1.043 GB, free: 7.535 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002016/0.7615, allocations: 153.7 kB / 1.043 GB, free: 7.375 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.22e-05/0.7616, allocations: 27.66 kB / 1.043 GB, free: 7.348 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/0.762, allocations: 192.3 kB / 1.043 GB, free: 7.152 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.762, allocations: 4 kB / 1.043 GB, free: 7.148 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.762, allocations: 0 / 1.043 GB, free: 7.148 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.762, allocations: 3.984 kB / 1.043 GB, free: 7.145 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.7632, allocations: 0.599 MB / 1.044 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.7632, allocations: 4 kB / 1.044 GB, free: 6.473 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.7635, allocations: 51.94 kB / 1.044 GB, free: 6.422 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.7635, allocations: 4 kB / 1.044 GB, free: 6.418 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.7635, allocations: 0 / 1.044 GB, free: 6.418 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.824e-06/0.7636, allocations: 7.938 kB / 1.044 GB, free: 6.41 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.7636, allocations: 0 / 1.044 GB, free: 6.41 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007593/0.7643, allocations: 444.1 kB / 1.044 GB, free: 5.949 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.7645, allocations: 128.7 kB / 1.044 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.7645, allocations: 7.984 kB / 1.044 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.7648, allocations: 20.11 kB / 1.044 GB, free: 5.777 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.967e-05/0.7649, allocations: 19.86 kB / 1.044 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.765, allocations: 15.98 kB / 1.045 GB, free: 5.742 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002558/0.7652, allocations: 198 kB / 1.045 GB, free: 5.547 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7652, allocations: 0 / 1.045 GB, free: 5.547 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005785/0.7658, allocations: 83.83 kB / 1.045 GB, free: 5.465 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 (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.0006997/0.7665, allocations: 202.5 kB / 1.045 GB, free: 5.266 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006466/0.7672, allocations: 167.7 kB / 1.045 GB, free: 5.102 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.7672, allocations: 4 kB / 1.045 GB, free: 5.098 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003517/0.7676, allocations: 108.2 kB / 1.045 GB, free: 4.992 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000985/0.7686, allocations: 122.3 kB / 1.045 GB, free: 4.879 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.7697, allocations: 0.6096 MB / 1.046 GB, free: 4.227 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.7702, allocations: 0.7755 MB / 1.047 GB, free: 3.426 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002039/0.7704, allocations: 54.19 kB / 1.047 GB, free: 3.375 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.34e-05/0.7705, allocations: 23.44 kB / 1.047 GB, free: 3.352 MB / 0.795 GB Notification: Performance of SimCode: time 8.92e-07/0.7705, allocations: 0 / 1.047 GB, free: 3.352 MB / 0.795 GB Notification: Performance of Templates: time 0.01224/0.7828, allocations: 4.925 MB / 1.052 GB, free: 14.49 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches