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.001822/0.001822, allocations: 93.47 kB / 19.44 MB, free: 332 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.001961/0.001961, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.606/1.606, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.449/3.449, allocations: 429.5 MB / 0.6729 GB, free: 4.008 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.353e-06/1.353e-06, allocations: 0 / 0.8774 GB, free: 5.551 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.605e-05, allocations: 3.875 kB / 0.8774 GB, free: 5.547 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate): time 0.002392/0.002418, allocations: 1.249 MB / 0.8786 GB, free: 4.309 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.03496/0.03738, allocations: 22.67 MB / 0.9007 GB, free: 13.58 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.77e-05/0.03741, allocations: 4 kB / 0.9008 GB, free: 13.58 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.954e-05/0.03743, allocations: 7.938 kB / 0.9008 GB, free: 13.57 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.03774, allocations: 47.64 kB / 0.9008 GB, free: 13.52 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 4.679e-06/0.03775, allocations: 0 / 0.9008 GB, free: 13.52 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.771e-05/0.03783, allocations: 23.86 kB / 0.9008 GB, free: 13.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.589e-05/0.03787, allocations: 0 / 0.9008 GB, free: 13.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.786e-05/0.03792, allocations: 11.92 kB / 0.9008 GB, free: 13.49 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.94e-05/0.03796, allocations: 4 kB / 0.9008 GB, free: 13.48 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.03797, allocations: 4 kB / 0.9008 GB, free: 13.48 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02783/0.0658, allocations: 10.11 MB / 0.9107 GB, free: 3.305 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.06582, allocations: 0 / 0.9107 GB, free: 3.305 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.06584, allocations: 7.984 kB / 0.9107 GB, free: 3.297 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.06599, allocations: 35.84 kB / 0.9108 GB, free: 3.262 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.066, allocations: 4 kB / 0.9108 GB, free: 3.258 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.242e-06/0.066, allocations: 3.938 kB / 0.9108 GB, free: 3.254 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.066, allocations: 0 / 0.9108 GB, free: 3.254 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.0004353/0.06644, allocations: 372.1 kB / 0.9111 GB, free: 2.855 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.06648, allocations: 8.031 kB / 0.9111 GB, free: 2.848 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.06652, allocations: 4.938 kB / 0.9111 GB, free: 2.844 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.06667, allocations: 112.6 kB / 0.9112 GB, free: 2.707 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.06669, allocations: 4.375 kB / 0.9112 GB, free: 2.703 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.06669, allocations: 384 / 0.9112 GB, free: 2.703 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.06682, allocations: 57.62 kB / 0.9113 GB, free: 2.633 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.06683, allocations: 192 / 0.9113 GB, free: 2.633 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.06684, allocations: 7.922 kB / 0.9113 GB, free: 2.625 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.06685, allocations: 0 / 0.9113 GB, free: 2.625 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.436e-05/0.06689, allocations: 15.94 kB / 0.9113 GB, free: 2.609 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.06708, allocations: 128.3 kB / 0.9114 GB, free: 2.445 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.06719, allocations: 62.22 kB / 0.9115 GB, free: 2.359 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.611e-05/0.06723, allocations: 31.36 kB / 0.9115 GB, free: 2.32 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001912/0.06742, allocations: 15.98 kB / 0.9116 GB, free: 2.305 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.06747, allocations: 41.39 kB / 0.9116 GB, free: 2.254 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.06747, allocations: 3.938 kB / 0.9116 GB, free: 2.25 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001971/0.06766, allocations: 69.56 kB / 0.9117 GB, free: 2.176 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.06773, allocations: 77.11 kB / 0.9117 GB, free: 2.082 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.06785, allocations: 157.9 kB / 0.9119 GB, free: 1.91 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.06787, allocations: 29.7 kB / 0.9119 GB, free: 1.875 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/0.06795, allocations: 134.8 kB / 0.912 GB, free: 1.738 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.06798, allocations: 7.906 kB / 0.9121 GB, free: 1.73 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.06802, allocations: 23.38 kB / 0.9121 GB, free: 1.699 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002485/0.06827, allocations: 496.1 kB / 0.9125 GB, free: 1.203 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/0.06829, allocations: 7.984 kB / 0.9126 GB, free: 1.195 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.597e-05/0.06832, allocations: 27.56 kB / 0.9126 GB, free: 1.16 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.075e-05/0.06837, allocations: 31.38 kB / 0.9126 GB, free: 1.121 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.06838, allocations: 0 / 0.9126 GB, free: 1.121 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.235e-05/0.06847, allocations: 53.62 kB / 0.9127 GB, free: 1.062 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.06848, allocations: 8 kB / 0.9127 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.06849, allocations: 0 / 0.9127 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.0685, allocations: 3.938 kB / 0.9127 GB, free: 1.051 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.401e-05/0.06855, allocations: 4 kB / 0.9127 GB, free: 1.047 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.06856, allocations: 4 kB / 0.9127 GB, free: 1.043 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.164e-05/0.06858, allocations: 8 kB / 0.9127 GB, free: 1.035 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.06859, allocations: 4 kB / 0.9127 GB, free: 1.031 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 0.0001103/0.0687, allocations: 160.6 kB / 0.9128 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.06872, allocations: 7.953 kB / 0.9129 GB, free: 0.8555 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.06885, allocations: 59.94 kB / 0.9129 GB, free: 0.793 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.06886, allocations: 7.938 kB / 0.9129 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.06886, allocations: 0 / 0.9129 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.06886, allocations: 0 / 0.9129 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.06898, allocations: 116.6 kB / 0.913 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.06898, allocations: 4.062 kB / 0.913 GB, free: 0.6328 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.093e-05/0.06901, allocations: 8 kB / 0.913 GB, free: 0.625 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.06902, allocations: 0 / 0.913 GB, free: 0.625 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-06/0.06902, allocations: 0 / 0.913 GB, free: 0.625 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.06903, allocations: 7.938 kB / 0.913 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.06903, allocations: 3.938 kB / 0.9131 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.06916, allocations: 88.12 kB / 0.9131 GB, free: 0.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.826e-05/0.06918, allocations: 15.94 kB / 0.9132 GB, free: 496 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.0692, allocations: 3.938 kB / 0.9132 GB, free: 492 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.639e-05/0.06921, allocations: 0 / 0.9132 GB, free: 492 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.06923, allocations: 7.938 kB / 0.9132 GB, free: 484 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.06924, allocations: 4 kB / 0.9132 GB, free: 480 kB / 0.823 GB Notification: Performance of sorting global known variables: time 8.271e-05/0.06932, allocations: 135.5 kB / 0.9133 GB, free: 344 kB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.06932, allocations: 0 / 0.9133 GB, free: 344 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002051/0.06952, allocations: 15.94 kB / 0.9133 GB, free: 328 kB / 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.0001728/0.0697, allocations: 115.1 kB / 0.9134 GB, free: 200 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.542e-05/0.06979, allocations: 27.69 kB / 0.9134 GB, free: 168 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.06979, allocations: 0 / 0.9134 GB, free: 168 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.149e-05/0.06983, allocations: 23.61 kB / 0.9135 GB, free: 140 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.07002, allocations: 18.12 kB / 0.9135 GB, free: 124 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.07033, allocations: 147.6 kB / 0.9136 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.942e-05/0.07039, allocations: 59.36 kB / 0.9137 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.07042, allocations: 4.484 kB / 0.9137 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.211e-05/0.07044, allocations: 12.5 kB / 0.9137 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/0.07044, allocations: 0 / 0.9137 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of Templates: time 0.004144/0.07459, allocations: 0.9844 MB / 0.9147 GB, free: 14.9 MB / 0.8386 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe 2>&1) [Timeout 240] 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.515928965993226]