Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01158/0.01158, allocations: 101.5 kB / 15.73 MB, free: 6.039 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.002146/0.002146, allocations: 200.9 kB / 16.68 MB, free: 5.965 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.537/1.537, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.569/2.569, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001316, allocations: 59.19 kB / 0.9504 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2912, allocations: 140.4 MB / 1.087 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01368/0.3049, allocations: 10.13 MB / 1.097 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00347/0.3084, allocations: 2.214 MB / 1.1 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003825/0.3089, allocations: 7.938 kB / 1.1 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005072/0.3094, allocations: 99.3 kB / 1.1 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009092/0.3104, allocations: 266.7 kB / 1.1 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008294/0.3112, allocations: 235.4 kB / 1.1 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007205/0.3119, allocations: 427.6 kB / 1.1 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003751/0.3123, allocations: 160.2 kB / 1.101 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006361/0.313, allocations: 211.1 kB / 1.101 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.3133, allocations: 107.5 kB / 1.101 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.3133, allocations: 12 kB / 1.101 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004636/0.3138, allocations: 163.7 kB / 1.101 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.465e-05/0.3139, allocations: 43.84 kB / 1.101 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.314, allocations: 75.59 kB / 1.101 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006303/0.3146, allocations: 251.1 kB / 1.101 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3146, allocations: 0 / 1.101 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3147, allocations: 3.938 kB / 1.101 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.3147, allocations: 0 / 1.101 GB, free: 3.605 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007651/0.3154, allocations: 478.5 kB / 1.102 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3155, allocations: 8.031 kB / 1.102 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.705e-05/0.3156, allocations: 46.69 kB / 1.102 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.13e-05/0.3157, allocations: 20.8 kB / 1.102 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.3161, allocations: 249.1 kB / 1.102 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.3161, allocations: 8.375 kB / 1.102 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.3162, allocations: 12.38 kB / 1.102 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003767/0.3166, allocations: 152.7 kB / 1.102 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3166, allocations: 0 / 1.102 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.3166, allocations: 4 kB / 1.102 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.3166, allocations: 4 kB / 1.102 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.3169, allocations: 91.86 kB / 1.103 GB, free: 2.449 MB / 0.8575 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.0009413/0.3179, allocations: 0.5396 MB / 1.103 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.3181, allocations: 93.11 kB / 1.103 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.3183, allocations: 57.81 kB / 1.103 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003662/0.3187, allocations: 340.3 kB / 1.104 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.3187, allocations: 30.56 kB / 1.104 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/0.3187, allocations: 0 / 1.104 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0005847/0.3193, allocations: 165.5 kB / 1.104 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.3194, allocations: 85.09 kB / 1.104 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.3196, allocations: 186.3 kB / 1.104 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.3196, allocations: 25.7 kB / 1.104 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.926e-05/0.3197, allocations: 116.1 kB / 1.104 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.3198, allocations: 31.73 kB / 1.104 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.3198, allocations: 21.72 kB / 1.104 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.32, allocations: 326.8 kB / 1.104 GB, free: 248 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.3201, allocations: 36 kB / 1.104 GB, free: 212 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.3203, allocations: 71.33 kB / 1.105 GB, free: 128 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.3205, allocations: 98.55 kB / 1.105 GB, free: 20 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3205, allocations: 256 / 1.105 GB, free: 20 kB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003656/0.3209, allocations: 137.4 kB / 1.105 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3209, allocations: 5.562 kB / 1.105 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3209, allocations: 8 kB / 1.105 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.321, allocations: 0 / 1.105 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.3212, allocations: 43.95 kB / 1.105 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.3212, allocations: 0 / 1.105 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.3214, allocations: 15.92 kB / 1.105 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.3214, allocations: 4 kB / 1.105 GB, free: 15.8 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * 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.00012/0.3215, allocations: 126.4 kB / 1.105 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.3216, allocations: 19.84 kB / 1.105 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/0.3219, allocations: 138.5 kB / 1.105 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.3219, allocations: 0 / 1.105 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3219, allocations: 4 kB / 1.105 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3219, allocations: 7.984 kB / 1.105 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/0.3225, allocations: 464.9 kB / 1.106 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.3226, allocations: 3.984 kB / 1.106 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.3228, allocations: 36.06 kB / 1.106 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3228, allocations: 7.938 kB / 1.106 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3228, allocations: 7.984 kB / 1.106 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3228, allocations: 0 / 1.106 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3228, allocations: 4 kB / 1.106 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.3233, allocations: 345.1 kB / 1.106 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.3234, allocations: 112.9 kB / 1.106 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.3234, allocations: 0 / 1.106 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.3236, allocations: 12 kB / 1.106 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.3236, allocations: 15.86 kB / 1.106 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.3236, allocations: 4 kB / 1.106 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00013/0.3238, allocations: 140.5 kB / 1.106 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3238, allocations: 0 / 1.106 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004054/0.3242, allocations: 51.88 kB / 1.106 GB, free: 14.21 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001069/0.3253, allocations: 0.9562 MB / 1.107 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003443/0.3256, allocations: 100 kB / 1.107 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.3256, allocations: 4.125 kB / 1.107 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.3258, allocations: 67.83 kB / 1.107 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006488/0.3265, allocations: 73.75 kB / 1.107 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.3291, allocations: 1.972 MB / 1.109 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.3295, allocations: 0.728 MB / 1.11 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001319/0.3296, allocations: 25.41 kB / 1.11 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.491e-05/0.3297, allocations: 51.41 kB / 1.11 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of SimCode: time 9.31e-07/0.3297, allocations: 0 / 1.11 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.3569, allocations: 5.277 MB / 1.115 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.89/8.247, allocations: 5 kB / 1.115 GB, free: 4.941 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches