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.0009694/0.0009689, allocations: 99.11 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 185.6 kB / 16.92 MB, free: 6.688 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.342/1.342, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.676/2.676, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003355, allocations: 13.59 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2825, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01564/0.2982, allocations: 14.23 MB / 1.073 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004787/0.303, allocations: 3.658 MB / 1.077 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004444/0.3035, allocations: 19.81 kB / 1.077 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004782/0.304, allocations: 131.1 kB / 1.077 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.305, allocations: 370.3 kB / 1.077 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008454/0.3059, allocations: 308.9 kB / 1.078 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001172/0.3071, allocations: 1.096 MB / 1.079 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.3075, allocations: 239.5 kB / 1.079 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007393/0.3083, allocations: 330.5 kB / 1.079 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003278/0.3086, allocations: 218.9 kB / 1.079 GB, free: 352 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.3086, allocations: 12 kB / 1.079 GB, free: 340 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004327/0.3091, allocations: 211.5 kB / 1.08 GB, free: 128 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.347e-05/0.3092, allocations: 55.77 kB / 1.08 GB, free: 72 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.3094, allocations: 157 kB / 1.08 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.3098, allocations: 299.2 kB / 1.08 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.3098, allocations: 4 kB / 1.08 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3098, allocations: 0 / 1.08 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.3098, allocations: 3.938 kB / 1.08 GB, free: 15.61 MB / 0.8419 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.0008238/0.3106, allocations: 0.5573 MB / 1.081 GB, free: 15 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3107, allocations: 11.97 kB / 1.081 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.806e-05/0.3108, allocations: 36.56 kB / 1.081 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.3111, allocations: 299.1 kB / 1.081 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.3112, allocations: 16.81 kB / 1.081 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.3112, allocations: 24.38 kB / 1.081 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005552/0.3118, allocations: 273.5 kB / 1.081 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.3118, allocations: 0 / 1.081 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.3118, allocations: 12 kB / 1.081 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3118, allocations: 4 kB / 1.081 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005047/0.3123, allocations: 204.5 kB / 1.081 GB, free: 14.09 MB / 0.8419 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.001204/0.3136, allocations: 0.8432 MB / 1.082 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.3139, allocations: 149.2 kB / 1.082 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002461/0.3141, allocations: 109.5 kB / 1.083 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003864/0.3145, allocations: 0.4948 MB / 1.083 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.3146, allocations: 34.56 kB / 1.083 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 2.865e-06/0.3146, allocations: 0 / 1.083 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0008253/0.3154, allocations: 297.2 kB / 1.083 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.3155, allocations: 85.11 kB / 1.083 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.3157, allocations: 263 kB / 1.084 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.3158, allocations: 29.7 kB / 1.084 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.3159, allocations: 172.2 kB / 1.084 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.316, allocations: 39.45 kB / 1.084 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.316, allocations: 13.72 kB / 1.084 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.3161, allocations: 338.8 kB / 1.084 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.3164, allocations: 71.94 kB / 1.084 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.3166, allocations: 133.9 kB / 1.084 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/0.3171, allocations: 192.1 kB / 1.085 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3171, allocations: 0 / 1.085 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005539/0.3176, allocations: 237.2 kB / 1.085 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3177, allocations: 4 kB / 1.085 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3177, allocations: 4 kB / 1.085 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.3177, allocations: 0 / 1.085 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.318, allocations: 67.92 kB / 1.085 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.318, allocations: 7.984 kB / 1.085 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.3182, allocations: 35.83 kB / 1.085 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/0.3183, allocations: 7.984 kB / 1.085 GB, free: 10.2 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.0001442/0.3184, allocations: 145.8 kB / 1.085 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.3185, allocations: 27.66 kB / 1.085 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003173/0.3188, allocations: 187.1 kB / 1.085 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.3189, allocations: 8.031 kB / 1.085 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3189, allocations: 0 / 1.085 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3189, allocations: 0 / 1.085 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007798/0.3197, allocations: 0.6029 MB / 1.086 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3197, allocations: 0 / 1.086 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.32, allocations: 64.16 kB / 1.086 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.32, allocations: 7.938 kB / 1.086 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.32, allocations: 8.438 kB / 1.086 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.32, allocations: 4 kB / 1.086 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.32, allocations: 3.938 kB / 1.086 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000653/0.3207, allocations: 471.2 kB / 1.086 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.3208, allocations: 116.8 kB / 1.087 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.3208, allocations: 0 / 1.087 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.3211, allocations: 39.81 kB / 1.087 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.3212, allocations: 23.86 kB / 1.087 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.3212, allocations: 8 kB / 1.087 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001816/0.3214, allocations: 194 kB / 1.087 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3214, allocations: 0 / 1.087 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004579/0.3218, allocations: 91.83 kB / 1.087 GB, free: 8.098 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.0004193/0.3223, allocations: 206.7 kB / 1.087 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000551/0.3228, allocations: 191.8 kB / 1.087 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3228, allocations: 0 / 1.087 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002761/0.3231, allocations: 120.3 kB / 1.087 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008871/0.324, allocations: 107 kB / 1.088 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009065/0.3249, allocations: 0.6587 MB / 1.088 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.3253, allocations: 0.7755 MB / 1.089 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.687e-05/0.3254, allocations: 23.44 kB / 1.089 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.3254, allocations: 3.938 kB / 1.089 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of Templates: time 0.007209/0.3326, allocations: 4.518 MB / 1.093 GB, free: 1.465 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches