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.001326/0.001326, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001316/0.001316, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.411/2.411, allocations: 437 MB / 0.711 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 76.38 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.281, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01683/0.2978, allocations: 14.79 MB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004885/0.3027, allocations: 3.727 MB / 1.036 GB, free: 8.062 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005162/0.3033, allocations: 15.88 kB / 1.036 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005734/0.3039, allocations: 166.7 kB / 1.036 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.3051, allocations: 402 kB / 1.037 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009483/0.3061, allocations: 329.8 kB / 1.037 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000931/0.307, allocations: 0.7726 MB / 1.038 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004969/0.3075, allocations: 292.2 kB / 1.038 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007957/0.3083, allocations: 378.4 kB / 1.038 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003481/0.3087, allocations: 227 kB / 1.039 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.802e-05/0.3087, allocations: 20 kB / 1.039 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004955/0.3092, allocations: 231.5 kB / 1.039 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.876e-05/0.3093, allocations: 75.75 kB / 1.039 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.3095, allocations: 143.3 kB / 1.039 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005933/0.3101, allocations: 414.8 kB / 1.039 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3101, allocations: 0 / 1.039 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3101, allocations: 0 / 1.039 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.3102, allocations: 0 / 1.039 GB, free: 4.648 MB / 0.8106 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.0009106/0.3111, allocations: 0.6078 MB / 1.04 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3111, allocations: 12.92 kB / 1.04 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.607e-05/0.3112, allocations: 36.56 kB / 1.04 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.3116, allocations: 307.1 kB / 1.04 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.3116, allocations: 16.81 kB / 1.04 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.3117, allocations: 20.38 kB / 1.04 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005489/0.3122, allocations: 261.5 kB / 1.041 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3123, allocations: 0 / 1.041 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.3123, allocations: 4 kB / 1.041 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.3123, allocations: 12 kB / 1.041 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00048/0.3128, allocations: 177.5 kB / 1.041 GB, free: 3.117 MB / 0.8106 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.001234/0.314, allocations: 0.851 MB / 1.042 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.3143, allocations: 133.1 kB / 1.042 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/0.3146, allocations: 101.5 kB / 1.042 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003589/0.3149, allocations: 0.4908 MB / 1.042 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.315, allocations: 34.55 kB / 1.042 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.315, allocations: 0 / 1.042 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0007895/0.3158, allocations: 261.3 kB / 1.043 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.3158, allocations: 85.09 kB / 1.043 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.3161, allocations: 266.9 kB / 1.043 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3161, allocations: 33.7 kB / 1.043 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.3162, allocations: 164.2 kB / 1.043 GB, free: 484 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.3163, allocations: 39.47 kB / 1.043 GB, free: 444 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.188e-05/0.3164, allocations: 33.7 kB / 1.043 GB, free: 404 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3165, allocations: 338.8 kB / 1.043 GB, free: 56 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.3167, allocations: 59.98 kB / 1.044 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.317, allocations: 113.9 kB / 1.044 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.3174, allocations: 180.1 kB / 1.044 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3174, allocations: 0 / 1.044 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005141/0.3179, allocations: 213.2 kB / 1.044 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.318, allocations: 4 kB / 1.044 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.318, allocations: 4 kB / 1.044 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.318, allocations: 384 / 1.044 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.3183, allocations: 59.81 kB / 1.044 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.3183, allocations: 8.094 kB / 1.044 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.3185, allocations: 31.83 kB / 1.044 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.3186, allocations: 7.984 kB / 1.044 GB, free: 15.34 MB / 0.8262 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.0001345/0.3187, allocations: 137.8 kB / 1.044 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.527e-05/0.3188, allocations: 35.55 kB / 1.044 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/0.3191, allocations: 187.2 kB / 1.044 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.006e-06/0.3191, allocations: 4 kB / 1.044 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3191, allocations: 0 / 1.044 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3191, allocations: 0 / 1.044 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007242/0.3199, allocations: 0.5951 MB / 1.045 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.3199, allocations: 4 kB / 1.045 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.3202, allocations: 56.06 kB / 1.045 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.3202, allocations: 4 kB / 1.045 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3202, allocations: 0 / 1.045 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.3202, allocations: 4.094 kB / 1.045 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3202, allocations: 3.938 kB / 1.045 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006011/0.3208, allocations: 445.6 kB / 1.046 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.3209, allocations: 120.7 kB / 1.046 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.321, allocations: 4 kB / 1.046 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.3212, allocations: 19.98 kB / 1.046 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.3213, allocations: 27.84 kB / 1.046 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.3213, allocations: 4 kB / 1.046 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001687/0.3215, allocations: 194 kB / 1.046 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3215, allocations: 0 / 1.046 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004385/0.3219, allocations: 87.86 kB / 1.046 GB, free: 13.3 MB / 0.8262 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.0004155/0.3223, allocations: 208.1 kB / 1.046 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005337/0.3229, allocations: 186.1 kB / 1.046 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3229, allocations: 0 / 1.046 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002656/0.3232, allocations: 103.9 kB / 1.046 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000848/0.324, allocations: 126.5 kB / 1.047 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008108/0.3249, allocations: 0.5482 MB / 1.047 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.3252, allocations: 0.7751 MB / 1.048 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.663e-05/0.3252, allocations: 23.44 kB / 1.048 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3252, allocations: 0 / 1.048 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of Templates: time 0.007097/0.3323, allocations: 4.562 MB / 1.052 GB, free: 6.75 MB / 0.8262 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches