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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001546/0.001546, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001884/0.001885, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.419/2.419, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 64.5 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2739, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.0173/0.2912, allocations: 14.79 MB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004693/0.296, allocations: 3.716 MB / 1.037 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003274/0.2963, allocations: 15.88 kB / 1.037 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004747/0.2968, allocations: 166.7 kB / 1.037 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0008673/0.2977, allocations: 402 kB / 1.037 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008352/0.2986, allocations: 336.4 kB / 1.038 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007548/0.2993, allocations: 0.7765 MB / 1.038 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004082/0.2998, allocations: 292 kB / 1.039 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005959/0.3004, allocations: 386.4 kB / 1.039 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.3006, allocations: 219 kB / 1.039 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.3007, allocations: 24 kB / 1.039 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004122/0.3011, allocations: 235.5 kB / 1.04 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.904e-05/0.3012, allocations: 67.75 kB / 1.04 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.3014, allocations: 139.3 kB / 1.04 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000515/0.3019, allocations: 434.6 kB / 1.04 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3019, allocations: 3.938 kB / 1.04 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3019, allocations: 4 kB / 1.04 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3019, allocations: 0 / 1.04 GB, free: 3.824 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.0008328/0.3027, allocations: 0.6001 MB / 1.041 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.3028, allocations: 8.922 kB / 1.041 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.133e-05/0.3029, allocations: 36.55 kB / 1.041 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004616/0.3033, allocations: 331 kB / 1.041 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.3034, allocations: 20.81 kB / 1.041 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.3034, allocations: 24.38 kB / 1.041 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004874/0.3039, allocations: 257.5 kB / 1.041 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3039, allocations: 0 / 1.041 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.3039, allocations: 11.94 kB / 1.041 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.304, allocations: 4 kB / 1.041 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004587/0.3044, allocations: 189.4 kB / 1.042 GB, free: 2.262 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.001145/0.3056, allocations: 0.8276 MB / 1.042 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.3059, allocations: 137.1 kB / 1.043 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.3061, allocations: 89.59 kB / 1.043 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003933/0.3066, allocations: 0.4949 MB / 1.043 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.3066, allocations: 38.56 kB / 1.043 GB, free: 480 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.3066, allocations: 0 / 1.043 GB, free: 480 kB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.000704/0.3073, allocations: 257.2 kB / 1.043 GB, free: 216 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.3074, allocations: 81.11 kB / 1.043 GB, free: 116 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.3076, allocations: 274.9 kB / 1.044 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3077, allocations: 29.7 kB / 1.044 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.3078, allocations: 168.2 kB / 1.044 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.3078, allocations: 39.45 kB / 1.044 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/0.3079, allocations: 33.7 kB / 1.044 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.308, allocations: 334.8 kB / 1.044 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.3082, allocations: 63.94 kB / 1.044 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.3084, allocations: 119.4 kB / 1.045 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.3088, allocations: 172.1 kB / 1.045 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3088, allocations: 0 / 1.045 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004879/0.3093, allocations: 217.1 kB / 1.045 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3093, allocations: 4 kB / 1.045 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3093, allocations: 4.375 kB / 1.045 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3094, allocations: 0 / 1.045 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.3096, allocations: 51.94 kB / 1.045 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.3096, allocations: 8 kB / 1.045 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.3098, allocations: 31.92 kB / 1.045 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.3099, allocations: 7.984 kB / 1.045 GB, free: 14.52 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.0001384/0.31, allocations: 146.4 kB / 1.045 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.751e-05/0.3101, allocations: 31.56 kB / 1.045 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.3104, allocations: 183.2 kB / 1.045 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.3104, allocations: 4 kB / 1.045 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3104, allocations: 0 / 1.045 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.3104, allocations: 0 / 1.045 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007826/0.3112, allocations: 0.6068 MB / 1.046 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.3113, allocations: 4 kB / 1.046 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.3115, allocations: 47.98 kB / 1.046 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.3115, allocations: 8.109 kB / 1.046 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.3115, allocations: 8 kB / 1.046 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.3116, allocations: 7.938 kB / 1.046 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3116, allocations: 0 / 1.046 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.3122, allocations: 437.7 kB / 1.046 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.3123, allocations: 120.7 kB / 1.047 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.3123, allocations: 8 kB / 1.047 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.3126, allocations: 15.97 kB / 1.047 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.3126, allocations: 27.86 kB / 1.047 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.3126, allocations: 4 kB / 1.047 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001712/0.3128, allocations: 194 kB / 1.047 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3128, allocations: 0 / 1.047 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004709/0.3133, allocations: 91.86 kB / 1.047 GB, free: 12.46 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.0004286/0.3137, allocations: 202.3 kB / 1.047 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005063/0.3143, allocations: 183.6 kB / 1.047 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3143, allocations: 4.188 kB / 1.047 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.3145, allocations: 108.2 kB / 1.047 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007333/0.3153, allocations: 125.6 kB / 1.047 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007598/0.3161, allocations: 0.5055 MB / 1.048 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.3164, allocations: 0.7829 MB / 1.049 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001359/0.3166, allocations: 50.25 kB / 1.049 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.048e-05/0.3166, allocations: 27.44 kB / 1.049 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3166, allocations: 3.938 kB / 1.049 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of Templates: time 0.009633/0.3263, allocations: 5.211 MB / 1.054 GB, free: 5.293 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 -s gbode -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