Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.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.0009226/0.0009226, allocations: 92.83 kB / 19.44 MB, free: 352 kB / 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.001539/0.001539, allocations: 157.3 kB / 22.75 MB, free: 1.68 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 1.017/1.017, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.862/1.862, allocations: 393.3 MB / 0.6375 GB, free: 8.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/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.Media.Conversions.Validation.PressureDrop_massFlowRate,fileNamePrefix="Buildings_latest_Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate,fileNamePrefix="Buildings_latest_Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0.6562 kB / 0.8299 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/1.991e-05, allocations: 3.281 kB / 0.8299 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate): time 0.002166/0.002186, allocations: 1.246 MB / 0.8311 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01876/0.02095, allocations: 20.58 MB / 0.8512 GB, free: 5.566 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/0.02098, allocations: 0 / 0.8512 GB, free: 5.566 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.02099, allocations: 3.938 kB / 0.8512 GB, free: 5.562 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.02125, allocations: 47.77 kB / 0.8513 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.596e-06/0.02125, allocations: 0 / 0.8513 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.315e-05/0.02131, allocations: 19.86 kB / 0.8513 GB, free: 5.496 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.517e-05/0.02134, allocations: 8 kB / 0.8513 GB, free: 5.488 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.532e-05/0.02138, allocations: 11.92 kB / 0.8513 GB, free: 5.477 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.413e-05/0.02141, allocations: 4 kB / 0.8513 GB, free: 5.473 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.02142, allocations: 0 / 0.8513 GB, free: 5.473 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01829/0.03972, allocations: 10.11 MB / 0.8612 GB, free: 11.29 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.856e-05/0.03974, allocations: 8 kB / 0.8612 GB, free: 11.28 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.03977, allocations: 3.938 kB / 0.8612 GB, free: 11.27 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.03995, allocations: 39.89 kB / 0.8612 GB, free: 11.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.03995, allocations: 0 / 0.8612 GB, free: 11.23 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.066e-06/0.03996, allocations: 0 / 0.8612 GB, free: 11.23 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.03996, allocations: 0 / 0.8612 GB, free: 11.23 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003631/0.04033, allocations: 262.2 kB / 0.8615 GB, free: 10.95 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.04038, allocations: 12.03 kB / 0.8615 GB, free: 10.94 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/0.04042, allocations: 34.69 kB / 0.8615 GB, free: 10.89 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.04046, allocations: 8.938 kB / 0.8615 GB, free: 10.89 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.04058, allocations: 113.7 kB / 0.8616 GB, free: 10.75 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.04059, allocations: 8.312 kB / 0.8617 GB, free: 10.74 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.0406, allocations: 384 / 0.8617 GB, free: 10.74 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.04071, allocations: 51.97 kB / 0.8617 GB, free: 10.68 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.04072, allocations: 3.938 kB / 0.8617 GB, free: 10.68 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.04073, allocations: 0 / 0.8617 GB, free: 10.68 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.04074, allocations: 0 / 0.8617 GB, free: 10.68 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.526e-05/0.04077, allocations: 11.94 kB / 0.8617 GB, free: 10.66 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.04092, allocations: 137.6 kB / 0.8618 GB, free: 10.48 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.966e-05/0.04099, allocations: 49.25 kB / 0.8619 GB, free: 10.42 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.04102, allocations: 21.7 kB / 0.8619 GB, free: 10.39 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/0.04122, allocations: 19.98 kB / 0.8619 GB, free: 10.37 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.04124, allocations: 34.56 kB / 0.862 GB, free: 10.33 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.04124, allocations: 0 / 0.862 GB, free: 10.33 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001889/0.04143, allocations: 61.56 kB / 0.862 GB, free: 10.26 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.04148, allocations: 81.36 kB / 0.8621 GB, free: 10.16 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.247e-05/0.04156, allocations: 101.8 kB / 0.8622 GB, free: 10.05 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.04157, allocations: 25.7 kB / 0.8622 GB, free: 10.02 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.04162, allocations: 92.14 kB / 0.8623 GB, free: 9.93 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.04165, allocations: 11.89 kB / 0.8623 GB, free: 9.918 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.04168, allocations: 17.72 kB / 0.8623 GB, free: 9.895 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.04178, allocations: 314.8 kB / 0.8626 GB, free: 9.578 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.04179, allocations: 4 kB / 0.8626 GB, free: 9.574 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.222e-05/0.04182, allocations: 17.72 kB / 0.8627 GB, free: 9.551 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.587e-05/0.04186, allocations: 33.66 kB / 0.8627 GB, free: 9.512 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.04186, allocations: 0 / 0.8627 GB, free: 9.512 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.116e-05/0.04193, allocations: 53.91 kB / 0.8627 GB, free: 9.453 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.04194, allocations: 7.938 kB / 0.8628 GB, free: 9.445 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.04195, allocations: 3.984 kB / 0.8628 GB, free: 9.441 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.04197, allocations: 4 kB / 0.8628 GB, free: 9.438 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.962e-05/0.04205, allocations: 4 kB / 0.8628 GB, free: 9.434 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.04205, allocations: 3.984 kB / 0.8628 GB, free: 9.43 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.04207, allocations: 4 kB / 0.8628 GB, free: 9.426 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.04208, allocations: 3.984 kB / 0.8628 GB, free: 9.422 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 6.856e-05/0.04215, allocations: 113.9 kB / 0.8629 GB, free: 9.301 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.876e-06/0.04215, allocations: 7.953 kB / 0.8629 GB, free: 9.293 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.04227, allocations: 64.88 kB / 0.863 GB, free: 9.223 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.04227, allocations: 3.938 kB / 0.863 GB, free: 9.219 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.04228, allocations: 0 / 0.863 GB, free: 9.219 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.04228, allocations: 4 kB / 0.863 GB, free: 9.215 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.404e-05/0.04237, allocations: 128.7 kB / 0.8631 GB, free: 9.047 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.04237, allocations: 4 kB / 0.8631 GB, free: 9.043 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.818e-05/0.04239, allocations: 8 kB / 0.8631 GB, free: 9.035 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.04239, allocations: 4.062 kB / 0.8631 GB, free: 9.031 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.0424, allocations: 3.938 kB / 0.8631 GB, free: 9.027 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.0424, allocations: 3.984 kB / 0.8631 GB, free: 9.023 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.0424, allocations: 7.938 kB / 0.8631 GB, free: 9.016 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.258e-05/0.04248, allocations: 77.98 kB / 0.8632 GB, free: 8.918 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.343e-05/0.0425, allocations: 3.953 kB / 0.8632 GB, free: 8.914 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.04251, allocations: 7.938 kB / 0.8632 GB, free: 8.906 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-06/0.04252, allocations: 0 / 0.8632 GB, free: 8.906 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.04254, allocations: 3.984 kB / 0.8632 GB, free: 8.902 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.04254, allocations: 4 kB / 0.8632 GB, free: 8.898 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.489e-05/0.04258, allocations: 83.28 kB / 0.8633 GB, free: 8.816 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.1e-08/0.04258, allocations: 4 kB / 0.8633 GB, free: 8.812 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001605/0.04274, allocations: 15.94 kB / 0.8633 GB, free: 8.797 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0003218/0.04306, allocations: 0.6327 MB / 0.8639 GB, free: 8.129 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.04e-05/0.04315, allocations: 23.92 kB / 0.8639 GB, free: 8.105 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.04315, allocations: 0 / 0.8639 GB, free: 8.105 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.057e-06/0.04316, allocations: 4 kB / 0.864 GB, free: 8.102 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.04341, allocations: 19.62 kB / 0.864 GB, free: 8.086 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009222/0.04433, allocations: 1.166 MB / 0.8651 GB, free: 6.824 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.235e-05/0.04437, allocations: 65.69 kB / 0.8652 GB, free: 6.742 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.491e-05/0.04441, allocations: 10.44 kB / 0.8652 GB, free: 6.734 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.04444, allocations: 8.5 kB / 0.8652 GB, free: 6.727 MB / 0.823 GB Notification: Performance of SimCode: time 7.22e-07/0.04444, allocations: 4 kB / 0.8652 GB, free: 6.723 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.06126, allocations: 2.606 MB / 0.8677 GB, free: 4.266 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/7.089, allocations: 7.047 kB / 0.8677 GB, free: 4.262 MB / 0.823 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe >> ../files/Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0006 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate.fmu > Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.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: 11.139030043035746]