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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,fileNamePrefix="Buildings_latest_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.005751/0.005751, allocations: 101 kB / 15.73 MB, free: 6.055 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.001638/0.001638, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.54/2.54, allocations: 482.6 MB / 0.7551 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 63.89 kB / 1.083 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.698/0.6999, allocations: 162.3 MB / 1.242 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01577/0.7157, allocations: 14.8 MB / 1.256 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004651/0.7204, allocations: 3.732 MB / 1.26 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000311/0.7208, allocations: 11.94 kB / 1.26 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.7213, allocations: 170.7 kB / 1.26 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008323/0.7221, allocations: 390 kB / 1.26 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008005/0.7229, allocations: 333.7 kB / 1.261 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008032/0.7238, allocations: 0.7726 MB / 1.262 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004156/0.7242, allocations: 288 kB / 1.262 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008186/0.725, allocations: 470 kB / 1.262 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.7253, allocations: 215 kB / 1.262 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.7253, allocations: 20 kB / 1.262 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004697/0.7258, allocations: 223.6 kB / 1.263 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.191e-05/0.7259, allocations: 71.75 kB / 1.263 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.7261, allocations: 147.3 kB / 1.263 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000583/0.7267, allocations: 442 kB / 1.263 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.7267, allocations: 0 / 1.263 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7267, allocations: 0 / 1.263 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.7267, allocations: 3.938 kB / 1.263 GB, free: 11.08 MB / 0.9825 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.0008523/0.7275, allocations: 0.6055 MB / 1.264 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.7276, allocations: 12.03 kB / 1.264 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.032e-05/0.7277, allocations: 58.72 kB / 1.264 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.177e-05/0.7277, allocations: 36.75 kB / 1.264 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005145/0.7283, allocations: 335.1 kB / 1.264 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.7283, allocations: 24.75 kB / 1.264 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.7283, allocations: 24.38 kB / 1.264 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.7288, allocations: 257.3 kB / 1.265 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.7289, allocations: 0 / 1.265 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.7289, allocations: 8 kB / 1.265 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.7289, allocations: 8 kB / 1.265 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004753/0.7294, allocations: 188.4 kB / 1.265 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.7305, allocations: 0.8238 MB / 1.266 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.7309, allocations: 141.1 kB / 1.266 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.7311, allocations: 89.66 kB / 1.266 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004085/0.7315, allocations: 0.4947 MB / 1.266 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.7315, allocations: 34.56 kB / 1.266 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.7316, allocations: 0 / 1.266 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.000746/0.7323, allocations: 269.4 kB / 1.267 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.7324, allocations: 81.11 kB / 1.267 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.7326, allocations: 267 kB / 1.267 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.7327, allocations: 29.7 kB / 1.267 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.7328, allocations: 164.5 kB / 1.267 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.7328, allocations: 47.58 kB / 1.267 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.037e-05/0.7329, allocations: 33.7 kB / 1.267 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.7331, allocations: 338.8 kB / 1.268 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.7333, allocations: 63.88 kB / 1.268 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.7335, allocations: 113.9 kB / 1.268 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/0.7339, allocations: 172.1 kB / 1.268 GB, free: 6 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.734, allocations: 0 / 1.268 GB, free: 6 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004865/0.7344, allocations: 217.2 kB / 1.268 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.7345, allocations: 8 kB / 1.268 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.7345, allocations: 0 / 1.268 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.7345, allocations: 0 / 1.268 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.7348, allocations: 51.94 kB / 1.268 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.7348, allocations: 8.406 kB / 1.268 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.735, allocations: 31.83 kB / 1.268 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.735, allocations: 7.984 kB / 1.268 GB, free: 5.676 MB / 0.9825 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.0001433/0.7351, allocations: 153.7 kB / 1.268 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.417e-05/0.7352, allocations: 23.86 kB / 1.268 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002961/0.7355, allocations: 183.2 kB / 1.269 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.7355, allocations: 4 kB / 1.269 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.7355, allocations: 4 kB / 1.269 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.7355, allocations: 0 / 1.269 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007498/0.7363, allocations: 0.6068 MB / 1.269 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.7363, allocations: 4 kB / 1.269 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.7366, allocations: 52.5 kB / 1.269 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.7366, allocations: 4 kB / 1.269 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.7366, allocations: 7.938 kB / 1.269 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.7366, allocations: 11.98 kB / 1.269 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7366, allocations: 0 / 1.269 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006156/0.7372, allocations: 450.3 kB / 1.27 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.7373, allocations: 120.9 kB / 1.27 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.7374, allocations: 8 kB / 1.27 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.7376, allocations: 19.97 kB / 1.27 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.7377, allocations: 19.92 kB / 1.27 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.7377, allocations: 4 kB / 1.27 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001809/0.7379, allocations: 194 kB / 1.27 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7379, allocations: 0 / 1.27 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004072/0.7383, allocations: 95.75 kB / 1.27 GB, free: 3.613 MB / 0.9825 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.001265/0.7396, allocations: 1.065 MB / 1.271 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005007/0.7401, allocations: 183.6 kB / 1.271 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.7401, allocations: 0 / 1.271 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.7403, allocations: 111.8 kB / 1.271 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007381/0.7411, allocations: 113.2 kB / 1.272 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003334/0.7444, allocations: 2.637 MB / 1.274 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.7448, allocations: 0.7753 MB / 1.275 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001603/0.745, allocations: 58.31 kB / 1.275 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.7451, allocations: 87.41 kB / 1.275 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.7451, allocations: 0 / 1.275 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.833/2.578, allocations: 8.123 MB / 1.283 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/14.61, allocations: 12.52 kB / 1.283 GB, free: 6.465 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > 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