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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008569/0.0008569, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009749/0.0009749, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8771/0.8771, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.719/1.719, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.695e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier): time 0.01002/0.01004, allocations: 13.7 MB / 1.013 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.002937/0.01298, allocations: 3.487 MB / 1.016 GB, free: 12.25 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002581/0.01324, allocations: 19.81 kB / 1.016 GB, free: 12.23 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004321/0.01367, allocations: 170.7 kB / 1.017 GB, free: 12.06 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0007335/0.0144, allocations: 417.7 kB / 1.017 GB, free: 11.65 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006076/0.01501, allocations: 356.4 kB / 1.017 GB, free: 11.31 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0006547/0.01566, allocations: 0.741 MB / 1.018 GB, free: 10.56 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.01597, allocations: 203.8 kB / 1.018 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000753/0.01673, allocations: 0.5526 MB / 1.019 GB, free: 9.809 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.01693, allocations: 191.4 kB / 1.019 GB, free: 9.621 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.01697, allocations: 23.94 kB / 1.019 GB, free: 9.598 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003135/0.01728, allocations: 191.5 kB / 1.019 GB, free: 9.41 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 7.424e-05/0.01735, allocations: 71.73 kB / 1.019 GB, free: 9.34 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 7.506e-05/0.01743, allocations: 99.77 kB / 1.019 GB, free: 9.242 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0004398/0.01787, allocations: 434.6 kB / 1.02 GB, free: 8.816 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01787, allocations: 0 / 1.02 GB, free: 8.816 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.563e-06/0.01787, allocations: 4 kB / 1.02 GB, free: 8.812 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.01788, allocations: 0 / 1.02 GB, free: 8.812 MB / 0.9792 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.0006283/0.01851, allocations: 0.5206 MB / 1.02 GB, free: 8.262 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.01855, allocations: 12.75 kB / 1.02 GB, free: 8.25 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.568e-05/0.01859, allocations: 54.73 kB / 1.02 GB, free: 8.188 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.585e-05/0.01865, allocations: 32.75 kB / 1.02 GB, free: 8.156 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.01902, allocations: 261.2 kB / 1.021 GB, free: 7.879 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.01904, allocations: 12.88 kB / 1.021 GB, free: 7.863 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.01906, allocations: 24.38 kB / 1.021 GB, free: 7.84 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.01946, allocations: 318.1 kB / 1.021 GB, free: 7.512 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.01947, allocations: 192 / 1.021 GB, free: 7.512 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.01949, allocations: 11.94 kB / 1.021 GB, free: 7.5 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.0195, allocations: 4 kB / 1.021 GB, free: 7.496 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/0.01976, allocations: 184.4 kB / 1.021 GB, free: 7.316 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008194/0.02058, allocations: 0.7082 MB / 1.022 GB, free: 6.559 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.02078, allocations: 129.2 kB / 1.022 GB, free: 6.414 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.02091, allocations: 93.58 kB / 1.022 GB, free: 6.316 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.02104, allocations: 43.97 kB / 1.022 GB, free: 6.273 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.02106, allocations: 34.5 kB / 1.022 GB, free: 6.23 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=12): time 1.422e-06/0.02106, allocations: 0 / 1.022 GB, free: 6.23 MB / 0.9792 GB Notification: Performance of matching and sorting (n=12): time 0.0004668/0.02153, allocations: 261.5 kB / 1.022 GB, free: 5.969 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.02157, allocations: 81.11 kB / 1.022 GB, free: 5.871 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.02175, allocations: 268.2 kB / 1.023 GB, free: 5.598 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.02177, allocations: 25.7 kB / 1.023 GB, free: 5.566 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 8.615e-05/0.02186, allocations: 168.3 kB / 1.023 GB, free: 5.395 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.02188, allocations: 35.69 kB / 1.023 GB, free: 5.359 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.02192, allocations: 37.7 kB / 1.023 GB, free: 5.316 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.02203, allocations: 338.8 kB / 1.023 GB, free: 4.977 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.02213, allocations: 59.94 kB / 1.023 GB, free: 4.918 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.02231, allocations: 276.2 kB / 1.024 GB, free: 4.59 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.02253, allocations: 164.4 kB / 1.024 GB, free: 4.414 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.02253, allocations: 7.938 kB / 1.024 GB, free: 4.406 MB / 0.9792 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002723/0.0228, allocations: 209.3 kB / 1.024 GB, free: 4.195 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.02282, allocations: 11.94 kB / 1.024 GB, free: 4.184 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.02282, allocations: 0 / 1.024 GB, free: 4.184 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.02284, allocations: 7.984 kB / 1.024 GB, free: 4.176 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.02298, allocations: 55.89 kB / 1.024 GB, free: 4.121 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.02299, allocations: 4.094 kB / 1.024 GB, free: 4.117 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.403e-05/0.02308, allocations: 27.86 kB / 1.024 GB, free: 4.09 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.0231, allocations: 12 kB / 1.024 GB, free: 4.078 MB / 0.9792 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.0001091/0.02321, allocations: 141.8 kB / 1.024 GB, free: 3.93 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.02325, allocations: 27.8 kB / 1.024 GB, free: 3.902 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.02347, allocations: 191.2 kB / 1.024 GB, free: 3.707 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.02347, allocations: 4 kB / 1.024 GB, free: 3.703 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.02348, allocations: 4 kB / 1.024 GB, free: 3.699 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.02348, allocations: 7.984 kB / 1.024 GB, free: 3.691 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.024, allocations: 0.5514 MB / 1.025 GB, free: 3.078 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.024, allocations: 7.938 kB / 1.025 GB, free: 3.07 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.02414, allocations: 51.88 kB / 1.025 GB, free: 3.02 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.02414, allocations: 8.031 kB / 1.025 GB, free: 3.012 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.02415, allocations: 4 kB / 1.025 GB, free: 3.008 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.02415, allocations: 8.125 kB / 1.025 GB, free: 3 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.02415, allocations: 0 / 1.025 GB, free: 3 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.0245, allocations: 443.8 kB / 1.025 GB, free: 2.539 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.02456, allocations: 39.78 kB / 1.026 GB, free: 2.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.02458, allocations: 11.98 kB / 1.026 GB, free: 2.488 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.02469, allocations: 12.08 kB / 1.026 GB, free: 2.477 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.02474, allocations: 31.84 kB / 1.026 GB, free: 2.445 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.02475, allocations: 4 kB / 1.026 GB, free: 2.441 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000127/0.02488, allocations: 195.1 kB / 1.026 GB, free: 2.254 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.02488, allocations: 0 / 1.026 GB, free: 2.254 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000313/0.02519, allocations: 91.7 kB / 1.026 GB, free: 2.164 MB / 0.9792 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.0006974/0.02589, allocations: 1.054 MB / 1.027 GB, free: 1.066 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002947/0.02618, allocations: 168.1 kB / 1.027 GB, free: 0.9023 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.02619, allocations: 8 kB / 1.027 GB, free: 0.8945 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.02632, allocations: 103.8 kB / 1.027 GB, free: 0.793 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.02676, allocations: 105.3 kB / 1.027 GB, free: 0.6875 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.02887, allocations: 2.596 MB / 1.03 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.02898, allocations: 166.9 kB / 1.03 GB, free: 13.78 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.02911, allocations: 57.83 kB / 1.03 GB, free: 13.72 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.595e-05/0.0292, allocations: 88.47 kB / 1.03 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of SimCode: time 5.61e-07/0.0292, allocations: 0 / 1.03 GB, free: 13.64 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/0.0486, allocations: 8.897 MB / 1.039 GB, free: 4.977 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.527/6.576, allocations: 15.05 kB / 1.039 GB, free: 4.969 MB / 0.9948 GB " [Timeout remaining time 293] (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 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_Validation_MassFlowRateMultiplier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.535932952538133]