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.001801/0.001801, allocations: 88.72 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.002342/0.002342, allocations: 157.7 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.494/1.494, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 3.215/3.215, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dpRat_m_flow|dpRat_V_flow|dpRat_equalHeatFlowRate|dWFloRat_equalHeatFlowRate",fileNamePrefix="Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate") translateModel(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dpRat_m_flow|dpRat_V_flow|dpRat_equalHeatFlowRate|dWFloRat_equalHeatFlowRate",fileNamePrefix="Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.8775 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.856e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.551 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate): time 0.002588/0.002617, allocations: 1.254 MB / 0.8788 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.03783/0.04044, allocations: 20.56 MB / 0.8989 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.223e-05/0.04049, allocations: 0 / 0.8989 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.04051, allocations: 0 / 0.8989 GB, free: 0.6992 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003694/0.04088, allocations: 59.64 kB / 0.8989 GB, free: 0.6406 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.719e-06/0.04089, allocations: 0 / 0.8989 GB, free: 0.6406 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.358e-05/0.04096, allocations: 19.81 kB / 0.8989 GB, free: 0.6211 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.04101, allocations: 0 / 0.8989 GB, free: 0.6211 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.587e-05/0.04107, allocations: 15.97 kB / 0.8989 GB, free: 0.6055 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.428e-05/0.04111, allocations: 7.938 kB / 0.899 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.04112, allocations: 0 / 0.899 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03038/0.07151, allocations: 10.11 MB / 0.9088 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.07153, allocations: 3.938 kB / 0.9088 GB, free: 6.414 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 5.04e-05/0.07158, allocations: 4 kB / 0.9088 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.07178, allocations: 39.89 kB / 0.9089 GB, free: 6.371 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.07179, allocations: 3.938 kB / 0.9089 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.533e-06/0.07179, allocations: 0 / 0.9089 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.0718, allocations: 0 / 0.9089 GB, free: 6.367 MB / 0.8698 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.0004621/0.07226, allocations: 270.2 kB / 0.9091 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.0723, allocations: 12.03 kB / 0.9091 GB, free: 6.062 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.744e-05/0.07236, allocations: 4.938 kB / 0.9091 GB, free: 6.059 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.07253, allocations: 117.7 kB / 0.9093 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.07255, allocations: 4.359 kB / 0.9093 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.07256, allocations: 384 / 0.9093 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.0727, allocations: 51.97 kB / 0.9093 GB, free: 5.852 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.07271, allocations: 192 / 0.9093 GB, free: 5.852 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.07272, allocations: 3.938 kB / 0.9093 GB, free: 5.848 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.07272, allocations: 0 / 0.9093 GB, free: 5.848 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.225e-05/0.07278, allocations: 15.94 kB / 0.9093 GB, free: 5.832 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.07297, allocations: 118.2 kB / 0.9094 GB, free: 5.684 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.954e-05/0.07307, allocations: 45.28 kB / 0.9095 GB, free: 5.621 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.07312, allocations: 13.78 kB / 0.9095 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/0.07335, allocations: 23.97 kB / 0.9095 GB, free: 5.578 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.07339, allocations: 38.5 kB / 0.9096 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.0734, allocations: 0 / 0.9096 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002431/0.07364, allocations: 61.81 kB / 0.9096 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.07371, allocations: 85.11 kB / 0.9097 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.07382, allocations: 93.86 kB / 0.9098 GB, free: 5.262 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.07384, allocations: 29.7 kB / 0.9098 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/0.0739, allocations: 84.14 kB / 0.9099 GB, free: 5.141 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.07393, allocations: 11.89 kB / 0.9099 GB, free: 5.129 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.07397, allocations: 21.72 kB / 0.9099 GB, free: 5.102 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.07415, allocations: 314.8 kB / 0.9102 GB, free: 4.785 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.07417, allocations: 0 / 0.9102 GB, free: 4.785 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.638e-05/0.07421, allocations: 25.7 kB / 0.9103 GB, free: 4.754 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.615e-05/0.07426, allocations: 29.66 kB / 0.9103 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.07426, allocations: 0 / 0.9103 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001113/0.07437, allocations: 53.62 kB / 0.9103 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.07439, allocations: 7.938 kB / 0.9103 GB, free: 4.652 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.0744, allocations: 4 kB / 0.9103 GB, free: 4.648 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.07442, allocations: 3.938 kB / 0.9103 GB, free: 4.645 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.716e-05/0.07449, allocations: 4 kB / 0.9104 GB, free: 4.641 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.0745, allocations: 0 / 0.9104 GB, free: 4.641 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.984e-05/0.07453, allocations: 11.89 kB / 0.9104 GB, free: 4.629 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.07453, allocations: 4.062 kB / 0.9104 GB, free: 4.625 MB / 0.8698 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 0.0001063/0.07464, allocations: 117.8 kB / 0.9105 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.07465, allocations: 0 / 0.9105 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.0748, allocations: 63.94 kB / 0.9105 GB, free: 4.434 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.07481, allocations: 3.938 kB / 0.9105 GB, free: 4.43 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.07481, allocations: 4 kB / 0.9105 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.07482, allocations: 0 / 0.9105 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.07494, allocations: 109.3 kB / 0.9107 GB, free: 4.289 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.07494, allocations: 0 / 0.9107 GB, free: 4.289 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.07498, allocations: 8 kB / 0.9107 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.07498, allocations: 4.062 kB / 0.9107 GB, free: 4.277 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.07499, allocations: 0 / 0.9107 GB, free: 4.277 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.07499, allocations: 0 / 0.9107 GB, free: 4.277 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.075, allocations: 7.938 kB / 0.9107 GB, free: 4.27 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.07513, allocations: 82.19 kB / 0.9108 GB, free: 4.168 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.07516, allocations: 11.94 kB / 0.9108 GB, free: 4.156 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.07518, allocations: 4 kB / 0.9108 GB, free: 4.152 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.837e-05/0.0752, allocations: 0 / 0.9108 GB, free: 4.152 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.07522, allocations: 3.938 kB / 0.9108 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.07522, allocations: 4 kB / 0.9108 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.572e-05/0.0753, allocations: 91.27 kB / 0.9109 GB, free: 4.055 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.0753, allocations: 0 / 0.9109 GB, free: 4.055 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002353/0.07553, allocations: 15.94 kB / 0.9109 GB, free: 4.039 MB / 0.8698 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.0002066/0.07574, allocations: 111.2 kB / 0.911 GB, free: 3.922 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.07584, allocations: 19.94 kB / 0.911 GB, free: 3.902 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.07584, allocations: 3.938 kB / 0.911 GB, free: 3.898 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.553e-05/0.07587, allocations: 11.98 kB / 0.911 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.07616, allocations: 12.25 kB / 0.911 GB, free: 3.875 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.07651, allocations: 127.2 kB / 0.9111 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.767e-05/0.07658, allocations: 63.34 kB / 0.9112 GB, free: 3.641 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.84e-05/0.07662, allocations: 4 kB / 0.9112 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.07665, allocations: 8.5 kB / 0.9112 GB, free: 3.629 MB / 0.8698 GB Notification: Performance of SimCode: time 6.21e-07/0.07665, allocations: 4 kB / 0.9112 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of Templates: time 0.004206/0.08085, allocations: 0.9739 MB / 0.9122 GB, free: 2.684 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe 2>&1) [Timeout 800] 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: 8.263501267065294]